Skip to content

Commit

Permalink
feat: Add gosop-v2 to the suite
Browse files Browse the repository at this point in the history
  • Loading branch information
lubux committed Jan 19, 2024
1 parent fa2fce2 commit 3e1d875
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM ubuntu

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

ARG TEST_SUITE_REF=116e20aac03708a9e919f307c077c1324fa9bb98
ARG TEST_SUITE_REF=7dbee6afaa7c02369138a8e73fb889b676651f58

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

Expand Down Expand Up @@ -100,6 +100,28 @@ ENV PATH=${GOSOP_DIR}:${PATH}

ENV GOSOP=${GOSOP_DIR}/gosop

# Install gosop gopenpgp v3

ENV GOSOP_DIR_V2=/gosop-v2

RUN mkdir ${GOSOP_DIR}

ARG GOSOP_REPO=https://github.com/ProtonMail/gosop.git

ARG GOSOP_REF=01540fa6dbae980dfcc10e923ec674b22c454ab9

RUN git clone ${GOSOP_REPO} ${GOSOP_DIR}

WORKDIR ${GOSOP_DIR_V2}

RUN git checkout ${GOSOP_REF}

RUN go build .

ENV PATH=${GOSOP_DIR_V2}:${PATH}

ENV GOSOP=${GOSOP_DIR_V2}/gosop-v2

# Install sop-openpgpjs

# Default is LTS
Expand Down

0 comments on commit 3e1d875

Please sign in to comment.