How to pass AWS credential when building Docker image in Jenkins?

Published: 14/01/2020
How to pass AWS credential when building Docker image in Jenkins?
Source: STACKOVERFLOW.COM

Hi I am working in jenkins to build my AWS CDK project. I have created my docker file as below. FROM python:3.7.4-alpine3.10 ENV CDK_VERSION='1.14.0' RUN mkdir /cdk COPY ./requirements.txt /cdk/ COPY ./entrypoint.sh /usr/local/bin/ COPY ./aws /cdk/ WORKDIR /cdk RUN apk -uv add --no-cache groff jq less RUN apk add --update nodejs npm RUN apk add --update bash && rm -rf /var/cache/apk/* RU

Read more
Related news
Comment
FACEBOOK