adds gotls13-t2
这个提交包含在:
父节点
2ce65e6682
当前提交
8bcb8893ed
8
images/gotls13-t2/Dockerfile
普通文件
8
images/gotls13-t2/Dockerfile
普通文件
@ -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
普通文件
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
|
正在加载...
在新工单中引用
屏蔽一个用户