Skip to content

Commit

Permalink
Added args & file write for AWS creds
Browse files Browse the repository at this point in the history
Added args & file write for AWS creds
  • Loading branch information
Eddie Knight authored Jan 27, 2022
2 parents 406909c + 5fbdd81 commit 6a1ca8c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ COPY . .
ARG VERSION_PROBR=v0.1.2
ARG VERSION_K8S=v0.1.1
ARG VERSION_AKS=v0.1.0
ARG AWS_ACCESS_KEY_ID=
ARG AWS_SECRET_ACCESS_KEY=

RUN mkdir ~/.aws && \
echo "[default]" >> ~/.aws/credentials && \
echo "aws_access_key_id=${AWS_ACCESS_KEY_ID}" >> ~/.aws/credentials && \
echo "aws_secret_access_key=${AWS_SECRET_ACCESS_KEY}" >> ~/.aws/credentials

RUN make probr VERSION=${VERSION_PROBR} && \
mv /probr/cmd/bin/probr /probr/cmd/probr
Expand Down

0 comments on commit 6a1ca8c

Please sign in to comment.