Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekStewie authored Nov 1, 2023
1 parent a920e1d commit 7f36c99
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,4 @@
FROM heroku/heroku:22

ENV DEBIAN_FRONTEND=noninteractive
ARG SALESFORCE_CLI_VERSION=latest-rc
ARG SF_CLI_VERSION=latest-rc

# INSTALL AND CONFIGURE NODEJS
RUN echo 'b298a73a9fc07badfa9e4a2e86ed48824fc9201327cdc43e3f3f58b273c535e7 ./nodejs.tar.gz' > node-file-lock.sha \
&& curl -s -o nodejs.tar.gz https://nodejs.org/dist/v18.15.0/node-v18.15.0-linux-x64.tar.gz \
&& shasum --check node-file-lock.sha
RUN mkdir /usr/local/lib/nodejs \
&& tar xf nodejs.tar.gz -C /usr/local/lib/nodejs/ --strip-components 1 \
&& rm nodejs.tar.gz node-file-lock.sha

# INSTALL SALESFORCEDX
ENV PATH=/usr/local/lib/nodejs/bin:$PATH
RUN npm install --global sfdx-cli@${SALESFORCE_CLI_VERSION} --ignore-scripts
RUN npm install --global @salesforce/cli@${SF_CLI_VERSION}

# INSTALL TESTIM.IO
# RUN npm install --global @testim/testim-cli
FROM salesforce/cli:latest-full

# INSTALL DEPENDENCIES
RUN apt-get update && apt-get install --assume-yes openjdk-11-jdk-headless jq git python3-venv python3-pip
Expand All @@ -36,13 +16,10 @@ ENV SHELL /bin/bash

# INSTALL SFDX PLUGINS
RUN echo y | sfdx plugins:install sfdmu
RUN echo y | sfdx plugins:install shane-sfdx-plugins

# INSTALL CUMULUSCI
RUN python3 -m pip install --upgrade pip
RUN pip install pipx
RUN pipx ensurepath
RUN pipx install cumulusci
#RUN cci robot install_playwright


RUN cci robot install_playwright

0 comments on commit 7f36c99

Please sign in to comment.