diff --git a/Dockerfile b/Dockerfile index afe6659..41d7550 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file