File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed
Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -137,8 +137,6 @@ ARG SOP_OPENPGPJS_REPO=https://github.com/openpgpjs/sop-openpgpjs.git
137137
138138ARG SOP_OPENPGPJS_REF=d35fe10b1818da9047d9a335f93d96bc098a1635
139139
140-
141-
142140RUN mkdir ${SOP_OPENPGPJS_DIR}
143141
144142RUN git clone ${SOP_OPENPGPJS_REPO} ${SOP_OPENPGPJS_DIR}
@@ -153,8 +151,28 @@ ENV PATH=${SOP_OPENPGPJS_DIR}:${PATH}
153151
154152ENV SOP_OPENPGPJS=${SOP_OPENPGPJS_DIR}/sop-openpgp
155153
156- # Install RNP
154+ # Install sop-openpgpjs with v6 support
155+ ENV SOP_OPENPGPJS_V2_DIR=/sop-openpgpjs-v2
156+
157+ ARG SOP_OPENPGPJS_V2_REPO=https://github.com/openpgpjs/sop-openpgpjs.git
158+
159+ ARG SOP_OPENPGPJS_V2_TAG=v2.0.0-0
160+
161+ RUN mkdir ${SOP_OPENPGPJS_V2_DIR}
162+
163+ RUN git clone ${SOP_OPENPGPJS_V2_REPO} ${SOP_OPENPGPJS_V2_DIR}
157164
165+ WORKDIR ${SOP_OPENPGPJS_V2_DIR}
166+
167+ RUN git checkout tags/${SOP_OPENPGPJS_V2_TAG}
168+
169+ RUN npm install
170+
171+ ENV PATH=${SOP_OPENPGPJS_V2_DIR}:${PATH}
172+
173+ ENV SOP_OPENPGPJS_V2=${SOP_OPENPGPJS_V2_DIR}/sop-openpgp
174+
175+ # Install RNP
158176RUN apt update && apt install -y cmake libbz2-dev zlib1g-dev libjson-c-dev build-essential python3 python-is-python3
159177
160178ENV BOTAN_DIR=/botan
You can’t perform that action at this time.
0 commit comments