Ver código fonte

adds gotls13-t2

keep-around/6bc05096116b1600ef728a51f333838990106741
Kris 6 anos atrás
pai
commit
8bcb8893ed
5 arquivos alterados com 24 adições e 15 exclusões
  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 Ver arquivo

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

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




+ 0
- 8
images/tst-gotls13/Dockerfile Ver arquivo

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

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

Carregando…
Cancelar
Salvar