Skip to content

Commit

Permalink
Add sop-openpgpjs-v2 (prerelease)
Browse files Browse the repository at this point in the history
To test OpenPGP.js v6 with profiles
  • Loading branch information
larabr committed Apr 5, 2024
1 parent 819055e commit 14d1f09
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ ARG SOP_OPENPGPJS_REPO=https://github.com/openpgpjs/sop-openpgpjs.git

ARG SOP_OPENPGPJS_REF=d35fe10b1818da9047d9a335f93d96bc098a1635



RUN mkdir ${SOP_OPENPGPJS_DIR}

RUN git clone ${SOP_OPENPGPJS_REPO} ${SOP_OPENPGPJS_DIR}
Expand All @@ -153,8 +151,28 @@ ENV PATH=${SOP_OPENPGPJS_DIR}:${PATH}

ENV SOP_OPENPGPJS=${SOP_OPENPGPJS_DIR}/sop-openpgp

# Install RNP
# Install sop-openpgpjs with v6 support
ENV SOP_OPENPGPJS_V2_DIR=/sop-openpgpjs-v2

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

ARG SOP_OPENPGPJS_V2_TAG=v2.0.0-0

RUN mkdir ${SOP_OPENPGPJS_V2_DIR}

RUN git clone ${SOP_OPENPGPJS_V2_REPO} ${SOP_OPENPGPJS_V2_DIR}

WORKDIR ${SOP_OPENPGPJS_V2_DIR}

RUN git checkout tags/${SOP_OPENPGPJS_V2_TAG}

RUN npm install

ENV PATH=${SOP_OPENPGPJS_V2_DIR}:${PATH}

ENV SOP_OPENPGPJS_V2=${SOP_OPENPGPJS_V2_DIR}/sop-openpgp

# Install RNP
RUN apt update && apt install -y cmake libbz2-dev zlib1g-dev libjson-c-dev build-essential python3 python-is-python3

ENV BOTAN_DIR=/botan
Expand Down

0 comments on commit 14d1f09

Please sign in to comment.