adds gotls13-t2

这个提交包含在:
Kris 2018-08-19 20:06:56 +00:00
父节点 2ce65e6682
当前提交 8bcb8893ed
共有 5 个文件被更改,包括 24 次插入15 次删除

查看文件

@ -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 普通文件
查看文件

@ -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}

查看文件

@ -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