Skip to content

Commit 03a2773

Browse files
committed
Don't rely on governmentpaas/awscli to build octodns container
Since boto/boto3#2596, we can't just pip3 install boto3 on top of it. The image we use comes from this PaaS repository: https://github.com/alphagov/paas-docker-cloudfoundry-tools/blob/main/awscli/Dockerfile which pins awscli to 1.17.2. Also, use curl-ssl from GHCR instead of DockerHub.
1 parent 6d490f0 commit 03a2773

File tree

1 file changed

+7
-3
lines changed
  • reliability-engineering/dockerfiles/govsvc/octodns

1 file changed

+7
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
FROM governmentpaas/awscli
2-
RUN apk add --update py3-pip && \
3-
pip3 install octodns boto3
1+
FROM ghcr.io/alphagov/paas/curl-ssl
2+
3+
ENV AWSCLI_VERSION "1.18.140"
4+
ENV PACKAGES "groff less python3 py-pip jq"
5+
6+
RUN apk add --update --no-cache $PACKAGES \
7+
&& pip3 install awscli==$AWSCLI_VERSION octodns boto3

0 commit comments

Comments
 (0)