Skip to content

Commit 7fcd9c2

Browse files
Upgrade docker compose version to fix CVE
Co-authored-by: Ona <[email protected]>
1 parent 3990c83 commit 7fcd9c2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

chunks/lang-go/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG GO_VERSION
66
USER gitpod
77

88
# Dazzle does not rebuild a layer until one of its lines are changed. Increase this counter to rebuild this layer.
9-
ENV TRIGGER_REBUILD=1
9+
ENV TRIGGER_REBUILD=2
1010
ENV GO_VERSION=${GO_VERSION}
1111
ENV GOPATH=$HOME/go-packages
1212
ENV GOROOT=$HOME/go

chunks/tool-docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ FROM ${base}
44
USER root
55

66
# Dazzle does not rebuild a layer until one of its lines are changed. Increase this counter to rebuild this layer.
7-
ENV TRIGGER_REBUILD=1
7+
ENV TRIGGER_REBUILD=2
88

99
# https://docs.docker.com/engine/install/ubuntu/
1010
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg \
1111
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
1212
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null \
1313
&& apt update \
14-
&& install-packages docker-ce=5:27.3.1-1~ubuntu.22.04~jammy docker-ce-cli=5:27.3.1-1~ubuntu.22.04~jammy containerd.io docker-buildx-plugin
14+
&& install-packages docker-ce=5:28.2.2-1~ubuntu.22.04~jammy docker-ce-cli=5:28.2.2-1~ubuntu.22.04~jammy containerd.io docker-buildx-plugin
1515

16-
RUN curl -o /usr/local/bin/docker-compose -fsSL https://github.com/docker/compose/releases/download/v2.24.1/docker-compose-linux-$(uname -m) \
16+
RUN curl -o /usr/local/bin/docker-compose -fsSL https://github.com/docker/compose/releases/download/v2.39.2/docker-compose-linux-$(uname -m) \
1717
&& chmod +x /usr/local/bin/docker-compose && mkdir -p /usr/local/lib/docker/cli-plugins && \
1818
ln -s /usr/local/bin/docker-compose /usr/local/lib/docker/cli-plugins/docker-compose
1919

0 commit comments

Comments
 (0)