This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
generated from salesforcecli/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
FROM heroku/heroku:18 | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
ARG SALESFORCE_CLI_VERSION=latest | ||
RUN apt-get update | ||
RUN echo '2d316e55994086e41761b0c657e0027e9d16d7160d3f8854cc9dc7615b99a526 ./nodejs.tar.gz' > node-file-lock.sha \ | ||
&& curl -s -o nodejs.tar.gz https://nodejs.org/dist/v12.18.2/node-v12.18.2-linux-x64.tar.gz \ | ||
ARG SALESFORCE_CLI_VERSION=latest-rc | ||
|
||
RUN echo '4781b162129b19bdb3a7010cab12d06fc7c89421ea3fda03346ed17f09ceacd6 ./nodejs.tar.gz' > node-file-lock.sha \ | ||
&& curl -s -o nodejs.tar.gz https://nodejs.org/dist/v14.17.1/node-v14.17.1-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 | ||
|
||
ENV PATH=/usr/local/lib/nodejs/bin:$PATH | ||
RUN npm install --global sfdx-cli@${SALESFORCE_CLI_VERSION} | ||
|
||
RUN apt-get install --assume-yes \ | ||
openjdk-11-jdk-headless \ | ||
jq | ||
|
||
RUN apt-get update && apt-get install --assume-yes openjdk-11-jdk-headless jq | ||
RUN apt-get autoremove --assume-yes \ | ||
&& apt-get clean --assume-yes \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
|
||
|
||
ENV SFDX_CONTAINER_MODE true | ||
ENV DEBIAN_FRONTEND=dialog | ||
ENV SHELL /bin/bash |