tris: add Dockerfile to run unit tests with -update
Cette révision appartient à :
Parent
bc76e35b75
révision
7d575cd9ba
26
_dev/testdata/Dockerfile
externe
Fichier normal
26
_dev/testdata/Dockerfile
externe
Fichier normal
@ -0,0 +1,26 @@
|
||||
# docker build -t tls-tris:testdata _dev/testdata
|
||||
# GOOS=linux ./_dev/go.sh test -c crypto/tls
|
||||
# docker run -it --rm -v "$(pwd):$(pwd)" -w "$(pwd)" tls-tris:testdata
|
||||
# ./tls.test -update -test.v -test.run SCTs
|
||||
## === RUN TestHandshakClientSCTs
|
||||
## Wrote testdata/Client-TLSv12-SCT
|
||||
## --- PASS: TestHandshakClientSCTs (0.62s)
|
||||
## PASS
|
||||
|
||||
FROM alpine
|
||||
|
||||
RUN apk add --update \
|
||||
wget \
|
||||
build-base \
|
||||
perl \
|
||||
ca-certificates \
|
||||
linux-headers \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
RUN wget https://www.openssl.org/source/openssl-1.1.0c.tar.gz
|
||||
RUN tar xvf openssl-1.1.0c.tar.gz
|
||||
RUN cd openssl-1.1.0c && perl ./Configure enable-weak-ssl-ciphers enable-ssl3 enable-ssl3-method -static linux-x86_64
|
||||
RUN cd openssl-1.1.0c && make
|
||||
RUN cd openssl-1.1.0c && make install
|
||||
|
||||
ENTRYPOINT ["/bin/sh"]
|
Chargement…
Référencer dans un nouveau ticket
Block a user