Skip to content

Commit 60bea5e

Browse files
fix dockerfile
Signed-off-by: stoneshi-yunify <[email protected]>
1 parent 7d3eb78 commit 60bea5e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

base/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ RUN apt-get update && \
4040

4141
# Install docker CLI
4242
RUN apt-get install -m 0755 -d /etc/apt/keyrings && \
43-
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg && \
44-
chmod a+r /etc/apt/keyrings/docker.gpg && \
43+
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && \
44+
chmod a+r /etc/apt/keyrings/docker.asc && \
4545
echo \
46-
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
47-
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
46+
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
47+
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
4848
tee /etc/apt/sources.list.d/docker.list > /dev/null && \
4949
apt-get update && \
50-
apt-get install -y docker-ce-cli && \
50+
apt-get install -y docker-ce-cli docker-buildx-plugin docker-compose-plugin && \
5151
apt-get clean && \
5252
rm -rf /var/lib/apt/lists/*
5353

0 commit comments

Comments
 (0)