Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save michael-adam-sheehan/c9e38a34b5e037460618bb1012b304e0 to your computer and use it in GitHub Desktop.
Save michael-adam-sheehan/c9e38a34b5e037460618bb1012b304e0 to your computer and use it in GitHub Desktop.
sfdc errorlog extract dockerfile
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