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

Commit

Permalink
feat: use node14
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Jun 23, 2021
1 parent 89ede51 commit 48a4cbf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions dockerfiles/Dockerfile_full
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

0 comments on commit 48a4cbf

Please sign in to comment.