Skip to content

Commit

Permalink
Fix issue with backing docker lib and docker 25+
Browse files Browse the repository at this point in the history
The backing docker lib we use hasn't been maintained for a while and
needs to be replaced. We've known this for a while, but it seems like
with version 25 there are breaking changes.

This pins our docker version to the latest of 24. We should have been
pinning versions anyways to avoid surprise breaking changes like this
anyways.
  • Loading branch information
ScottG489 committed May 1, 2024
1 parent 46e69a1 commit fff0bf1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions infra/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ RUN apt-get update && \
lsb-release \
unzip

ARG VERSION_STRING=5:24.0.9-1~ubuntu.20.04~focal
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg && \
echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \
| tee /etc/apt/sources.list.d/docker.list > /dev/null && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
docker-ce \
docker-ce-cli \
docker-ce=$VERSION_STRING \
docker-ce-cli=$VERSION_STRING \
containerd.io

RUN curl https://releases.hashicorp.com/terraform/0.14.0/terraform_0.14.0_linux_amd64.zip -o /tmp/terraform.zip && \
Expand Down

0 comments on commit fff0bf1

Please sign in to comment.