Skip to content

Commit b4793d3

Browse files
committed
Adds testssl.sh and mkcert to cypress stack
1 parent 68a7803 commit b4793d3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/cypress/Dockerfile

+12
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ COPY --chown=1000 ./test /test
66
ENV FORCE_COLOR=0
77
ENV NO_COLOR=1
88

9+
# testssl.sh and mkcert
10+
RUN wget "https://github.com/testssl/testssl.sh/archive/refs/tags/v3.2rc4.tar.gz" -O /tmp/testssl.tgz -q \
11+
&& tar -xzf /tmp/testssl.tgz -C /tmp \
12+
&& mv /tmp/testssl.sh-3.2rc4 /testssl \
13+
&& rm /tmp/testssl.tgz \
14+
&& apt-get update \
15+
&& apt-get install -y bsdmainutils \
16+
&& apt-get clean \
17+
&& rm -rf /var/lib/apt/lists/* \
18+
&& wget "https://github.com/FiloSottile/mkcert/releases/download/v1.4.4/mkcert-v1.4.4-linux-amd64" -O /bin/mkcert \
19+
&& chmod +x /bin/mkcert
20+
921
WORKDIR /test
1022
RUN yarn install && yarn cache clean
1123
ENTRYPOINT []

0 commit comments

Comments
 (0)