Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(docker): add sf community plugin on full docker image #56

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions dockerfiles/sfp.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ FROM ubuntu:22.04


ARG SFPOWERSCRIPTS_VERSION=alpha
ARG SF_CLI_VERSION=2.25.7
ARG SF_CLI_VERSION=2.25.7
ARG BROWSERFORCE_VERSION=4.0.0
ARG SFDMU_VERSION=4.32.2
ARG GIT_COMMIT
ARG NODE_MAJOR=18
ARG SF_COMMUNITY_PLUGIN=3.1.0

LABEL org.opencontainers.image.description "sfp is a build system for modular development in Salesforce."
LABEL org.opencontainers.image.licenses "MIT"
Expand Down Expand Up @@ -63,7 +64,7 @@ RUN mkdir -p /etc/apt/keyrings \
&& apt-get -y install --no-install-recommends nodejs \
&& apt-get autoremove --assume-yes \
&& apt-get clean --assume-yes \
&& rm -rf /var/lib/apt/list/*
&& rm -rf /var/lib/apt/list/*

# install yarn
RUN npm install --global yarn --omit-dev \
Expand Down Expand Up @@ -107,7 +108,8 @@ RUN echo 'y' | sf plugins:install sfdx-browserforce-plugin@${BROWSERFORCE_VERSIO
&& echo 'y' | sf plugins:install sfdmu@${SFDMU_VERSION} \
&& echo 'y' | sf plugins:install @salesforce/[email protected] \
&& echo 'y' | sf plugins:install @salesforce/[email protected] \
&& yarn cache clean --all
&& echo 'y' | sf plugins:install @salesforce/plugin-community@${SF_COMMUNITY_PLUGIN} \
&& yarn cache clean --all

# Set some sane behaviour in container
ENV SF_CONTAINER_MODE=true
Expand Down
Loading