Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
fix(docker): update to sf cli 2.8.11
Browse files Browse the repository at this point in the history
fix(docker): switch to heroku base image

fix(docker): remove failing root cleanup

fix(docker): switch to cli image

fix(docker):  remove entry point and workdir

fix(docker): add symbolic link to sh

fix(docker): add symbolic link

fix(docker): remove root cleanup

fix(docker): fix move to node 18

fix(docker): revert to ubuntu 22

fix(docker): add packaging plugin
  • Loading branch information
azlam-abdulsalam committed Sep 16, 2023
1 parent 78739d5 commit d26480d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions dockerfiles/sfpowerscripts.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
FROM ubuntu:22.04

ARG PMD_VERSION=6.48.0

ARG SFPOWERSCRIPTS_VERSION=alpha
ARG SF_CLI_VERSION=^2
ARG SALESFORCE_CLI_VERSION=nightly
ARG SF_CLI_VERSION=2.8.11
ARG BROWSERFORCE_VERSION=2.9.1
ARG SFDMU_VERSION=4.18.2
ARG GIT_COMMIT
Expand Down Expand Up @@ -64,8 +63,8 @@ RUN npm install --global --omit=dev \
# Install sfdx plugins
RUN echo 'y' | sf plugins:install sfdx-browserforce-plugin@${BROWSERFORCE_VERSION} \
&& echo 'y' | sf plugins:install sfdmu@${SFDMU_VERSION} \
&& yarn cache clean --all \
&& rm -r /root/.cache/sf
&& echo 'y' | sf plugins:install @salesforce/[email protected] \
&& yarn cache clean --all

# Set some sane behaviour in container
ENV SF_CONTAINER_MODE=true
Expand All @@ -76,6 +75,8 @@ ENV SF_USE_PROGRESS_BAR=false

WORKDIR /root

RUN ln -sf bash /bin/sh

# clear the entrypoint for azure
ENTRYPOINT []
CMD ["/bin/bash"]
CMD ["/bin/sh"]

0 comments on commit d26480d

Please sign in to comment.