mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 20:42:11 +00:00
tls v1.3 testing
This commit is contained in:
parent
c46d3e4f6f
commit
fb012ae683
1 changed files with 26 additions and 0 deletions
26
docker/nginx/Dockerfile.future
Normal file
26
docker/nginx/Dockerfile.future
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
FROM alpine
|
||||||
|
|
||||||
|
# Include dist
|
||||||
|
ADD dist/ /root/dist/
|
||||||
|
|
||||||
|
# Get and install dependencies & packages
|
||||||
|
RUN rm -rf /etc/ssl/openssl.cnf && \
|
||||||
|
apk add --no-cache -U -X http://dl-3.alpinelinux.org/alpine/edge/testing/ \
|
||||||
|
nginx \
|
||||||
|
nginx-mod-http-headers-more \
|
||||||
|
openssl1.1 || : && \
|
||||||
|
|
||||||
|
# Setup configs
|
||||||
|
mkdir -p /run/nginx && \
|
||||||
|
rm -rf /etc/nginx/conf.d/* /usr/share/nginx/html/* && \
|
||||||
|
cp /root/dist/conf/nginx.conf /etc/nginx/ && \
|
||||||
|
cp -R /root/dist/conf/ssl /etc/nginx/ && \
|
||||||
|
cp /root/dist/conf/tpotweb.conf /etc/nginx/conf.d/ && \
|
||||||
|
cp -R /root/dist/html/ /var/lib/nginx/ && \
|
||||||
|
|
||||||
|
# Clean up
|
||||||
|
rm -rf /root/* && \
|
||||||
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
# Start nginx
|
||||||
|
CMD exec nginx -g 'daemon off;'
|
Loading…
Reference in a new issue