Skip to content

Commit

Permalink
Merge pull request #18 from stakater-docker/ecr-login
Browse files Browse the repository at this point in the history
add support for ECR credentials login
  • Loading branch information
usamaahmadkhan authored Sep 13, 2019
2 parents daa5b98 + c4205de commit 7ef6a5d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ RUN wget https://github.com/containers/libpod/archive/v${PODMAN_VERSION}.tar.gz
&& tar -xvzf v${PODMAN_VERSION}.tar.gz \
&& cd libpod-${PODMAN_VERSION}/ \
&& make binaries && make install PREFIX=/usr
ARG ECR_CREDENTIALS_HELPER_VERSION=0.3.1
ARG ECR_CREDENTIALS_HELPER_URL=https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/${ECR_CREDENTIALS_HELPER_VERSION}/linux-amd64/docker-credential-ecr-login
RUN wget ${ECR_CREDENTIALS_HELPER_URL} \
&& mv docker-credential-ecr-login /usr/bin \
&& chmod +x /usr/bin/docker-credential-ecr-login
ADD bootstrap.sh /
ADD binaries/* /usr/local/bin/
ENTRYPOINT ["/bootstrap.sh"]

0 comments on commit 7ef6a5d

Please sign in to comment.