Created
August 18, 2020 06:16
-
-
Save michael-adam-sheehan/c9e38a34b5e037460618bb1012b304e0 to your computer and use it in GitHub Desktop.
sfdc errorlog extract dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:dubnium-alpine3.10 | |
ARG TARGET_USERNAME | |
ARG SFDX_AUTH_URL | |
WORKDIR /app | |
RUN apk update | |
RUN apk add --no-cache \ | |
bash \ | |
vim \ | |
zip \ | |
nginx \ | |
python3 \ | |
openrc \ | |
tini \ | |
busybox-initscripts \ | |
jq | |
COPY . . | |
ENV PATH /app/node_modules/.bin:$PATH | |
RUN yarn install | |
RUN yarn global add sfdx-cli | |
RUN sfdx --version | |
RUN sfdx plugins --core | |
RUN echo ${SFDX_AUTH_URL} > sfdxurlfile | |
RUN sfdx force:auth:sfdxurl:store --sfdxurlfile=sfdxurlfile --setdefaultdevhubusername --setalias=DevHub | |
RUN rm sfdxurlfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment