Skip to content
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.

Commit

Permalink
fix: ecr docker credential helper issue was released upstream so lets…
Browse files Browse the repository at this point in the history
… use that and fix broken v2 release pipeline as old binary does not exist anymore, relates to jenkins-x/jx#7597
  • Loading branch information
rawlingsj committed Dec 24, 2020
1 parent 358ee19 commit 3c01c60
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions builder-base/Dockerfile.common
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@ RUN curl -f https://download.docker.com/linux/static/stable/x86_64/docker-$DOCKE
chmod +x kubectl && \
mv kubectl /usr/bin/ && \
# aws ecr docker credential helper.
# Currently using https://github.com/estahn/amazon-ecr-credential-helper as there are no releases yet in the main repo
# Main repo issues tracking at https://github.com/awslabs/amazon-ecr-credential-helper/issues/80
mkdir ecr && \
curl -f -L https://github.com/estahn/amazon-ecr-credential-helper/releases/download/v0.1.1/amazon-ecr-credential-helper_0.1.1_linux_amd64.tar.gz | tar -xzv -C ./ecr/ && \
curl -f -L -o ./ecr/docker-credential-ecr-login https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.4.0/linux-amd64/docker-credential-ecr-login && \
chmod +x ecr/docker-credential-ecr-login && \
mv ecr/docker-credential-ecr-login /usr/bin/ && \
rm -rf ecr && \
# ACR docker credential helper
Expand Down

0 comments on commit 3c01c60

Please sign in to comment.