Browse Source

adds gotls13-t2

keep-around/6bc05096116b1600ef728a51f333838990106741
Kris 6 years ago
parent
commit
8bcb8893ed
5 changed files with 24 additions and 15 deletions
  1. +8
    -0
      images/gotls13-t2/Dockerfile
  2. +16
    -0
      images/gotls13-t2/Makefile
  3. BIN
     
  4. +0
    -8
      images/tst-gotls13/Dockerfile
  5. +0
    -7
      images/tst-gotls13/Makefile

+ 8
- 0
images/gotls13-t2/Dockerfile View 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
- 0
images/gotls13-t2/Makefile View 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}



BIN
View File


+ 0
- 8
images/tst-gotls13/Dockerfile View File

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

+ 0
- 7
images/tst-gotls13/Makefile View File

@@ -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…
Cancel
Save