Skip to content

Commit abd8a8e

Browse files
committed
fix: replace docker-credential-helpers with amazon-ecr-credential-helper
1 parent 776e79b commit abd8a8e

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,12 @@ RUN apt-get update -y && \
5454
apt-get update -y && \
5555
apt-get install -y \
5656
docker-ce \
57+
amazon-ecr-credential-helper \
5758
nodejs \
5859
yarn && \
5960
# Clean up the lists work
6061
rm -rf /var/lib/apt/lists/*
6162

62-
# Install docker credential helper pass
63-
RUN curl -fsSLo /tmp/dch.tgz https://github.com/docker/docker-credential-helpers/releases/download/${DOCKER_PASS_CH}/docker-credential-pass-${DOCKER_PASS_CH}-amd64.tar.gz; \
64-
tar -xf /tmp/dch.tgz; \
65-
chmod +x docker-credential-pass; \
66-
mv -f docker-credential-pass /usr/local/bin/; \
67-
rm -rf /tmp/dch.tgz
68-
6963
# Passing --build-arg PULUMI_VERSION=vX.Y.Z will use that version
7064
# of the SDK. Otherwise, we use whatever get.pulumi.com thinks is
7165
# the latest

0 commit comments

Comments
 (0)