Skip to content

Commit 691d2c1

Browse files
committed
feat: Add gosop-v2 to the suite
1 parent fa2fce2 commit 691d2c1

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

Dockerfile

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM ubuntu
44

55
ARG TEST_SUITE_REPO=https://gitlab.com/sequoia-pgp/openpgp-interoperability-test-suite.git
66

7-
ARG TEST_SUITE_REF=116e20aac03708a9e919f307c077c1324fa9bb98
7+
ARG TEST_SUITE_REF=7dbee6afaa7c02369138a8e73fb889b676651f58
88

99
RUN apt update && apt install -y git rustc cargo clang llvm pkg-config nettle-dev
1010

@@ -100,6 +100,28 @@ ENV PATH=${GOSOP_DIR}:${PATH}
100100

101101
ENV GOSOP=${GOSOP_DIR}/gosop
102102

103+
# Install gosop-v2 with gopenpgp v3
104+
105+
ENV GOSOP_DIR_V2=/gosop-v2
106+
107+
RUN mkdir ${GOSOP_DIR_V2}
108+
109+
ARG GOSOP_REPO=https://github.com/ProtonMail/gosop.git
110+
111+
ARG GOSOP_REF=01540fa6dbae980dfcc10e923ec674b22c454ab9
112+
113+
RUN git clone ${GOSOP_REPO} ${GOSOP_DIR_V2}
114+
115+
WORKDIR ${GOSOP_DIR_V2}
116+
117+
RUN git checkout ${GOSOP_REF}
118+
119+
RUN go build .
120+
121+
ENV PATH=${GOSOP_DIR_V2}:${PATH}
122+
123+
ENV GOSOP_V2=${GOSOP_DIR_V2}/gosop-v2
124+
103125
# Install sop-openpgpjs
104126

105127
# Default is LTS

0 commit comments

Comments
 (0)