Skip to content

Commit

Permalink
Merge pull request #1 from ProtonMail/fix/update-nodejs
Browse files Browse the repository at this point in the history
Update nodejs
  • Loading branch information
marinthiercelin committed Apr 3, 2023
2 parents 5985f0e + a9167a6 commit f7cfc49
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,21 @@ ENV GOSOP=${GOSOP_DIR}/gosop

# Install sop-openpgpjs

RUN apt update && apt install -y nodejs npm
# Default is LTS
ARG NODE_VERSION=18.15.0

RUN apt update && apt install -y nodejs npm wget

RUN npm install -g n && n install ${NODE_VERSION}

ENV SOP_OPENPGPJS_DIR=/sop-openpgpjs

ARG SOP_OPENPGPJS_REPO=https://github.com/openpgpjs/sop-openpgpjs.git

ARG SOP_OPENPGPJS_REF=e650d7ebc728d8851938a9b4be1f2dd847ba93c7



RUN mkdir ${SOP_OPENPGPJS_DIR}

RUN git clone ${SOP_OPENPGPJS_REPO} ${SOP_OPENPGPJS_DIR}
Expand Down

0 comments on commit f7cfc49

Please sign in to comment.