Skip to content

Commit

Permalink
ugh multistage not supported in dockerhub yet only docker cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
wongwill86 committed Jun 15, 2017
1 parent c6f8bf2 commit 77c1650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# SOURCE: https://github.com/wongwill86/air-tasks

# Compile AWS credential helper
FROM golang:1.8.3
FROM golang:1.8.3 as aws_ecr_credential_helper
WORKDIR /go/src/github.com/awslabs/
RUN git clone https://github.com/awslabs/amazon-ecr-credential-helper.git
WORKDIR /go/src/github.com/awslabs/amazon-ecr-credential-helper
Expand Down Expand Up @@ -42,7 +42,7 @@ WORKDIR ${AIRFLOW_HOME}/.docker
# this is to enable aws ecr credentials helpers to reauthorize docker
RUN echo '{\n "credsStore": "ecr-login"\n}' > config.json
# copy the built docker credentials module to this container
COPY --from=0 \
COPY --from=aws_ecr_credential_helper \
/go/src/github.com/awslabs/amazon-ecr-credential-helper/bin/local/docker-credential-ecr-login \
/usr/local/bin

Expand Down

0 comments on commit 77c1650

Please sign in to comment.