adds gotls13-t2
This commit is contained in:
parent
2ce65e6682
commit
8bcb8893ed
8
images/gotls13-t2/Dockerfile
Normal file
8
images/gotls13-t2/Dockerfile
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
FROM buildpack-deps
|
||||||
|
|
||||||
|
EXPOSE 443
|
||||||
|
|
||||||
|
ADD certs/privkey.pem /
|
||||||
|
ADD certs/fullchain.pem /
|
||||||
|
ADD bin/server /
|
||||||
|
CMD [ "/server", "-b", "0.0.0.0:443", "-cert", "/privkey.pem:/fullchain.pem" ]
|
16
images/gotls13-t2/Makefile
Normal file
16
images/gotls13-t2/Makefile
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
NAME=gotls13-p2
|
||||||
|
PORT=50603
|
||||||
|
build:
|
||||||
|
mkdir -p certs
|
||||||
|
cp ../../cert/fullchain.pem certs/
|
||||||
|
cp ../../cert/privkey.pem certs/
|
||||||
|
docker build -t ${NAME} .
|
||||||
|
run:
|
||||||
|
docker run --detach --restart always --name ${NAME} -p ${PORT}:443 ${NAME}
|
||||||
|
|
||||||
|
restart:
|
||||||
|
docker stop ${NAME}
|
||||||
|
docker rm ${NAME}
|
||||||
|
docker run --detach --restart always --name ${NAME} -p ${PORT}:443 ${NAME}
|
||||||
|
|
||||||
|
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
FROM buildpack-deps
|
|
||||||
|
|
||||||
EXPOSE 443
|
|
||||||
|
|
||||||
#ADD cert/privkey.pem /
|
|
||||||
#ADD cert/fullchain.pem /
|
|
||||||
ADD bin/server /
|
|
||||||
CMD [ "/server", "-b", "0.0.0.0:443", "-enable_sidh" ]
|
|
@ -1,7 +0,0 @@
|
|||||||
build:
|
|
||||||
docker build -t pq-t1 .
|
|
||||||
run:
|
|
||||||
docker run --detach --restart always --name pq-t1 -p 50510:443 pq-t1
|
|
||||||
|
|
||||||
restart:
|
|
||||||
docker restart pq-t1
|
|
Loading…
Reference in New Issue
Block a user