adds gotls13
This commit is contained in:
parent
52d5d86230
commit
6f3137a96a
8
images/gotls13/Dockerfile
Normal file
8
images/gotls13/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/Makefile
Normal file
16
images/gotls13/Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
NAME=gotls13
|
||||
PORT=50604
|
||||
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}
|
||||
|
||||
|
BIN
images/gotls13/bin/server
Executable file
BIN
images/gotls13/bin/server
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user