Pārlūkot izejas kodu

adds gotls13

keep-around/7f12695beac7e08f9823d3e7cc13bb5387f277d7
Kris Kwiatkowski pirms 6 gadiem
vecāks
revīzija
6f3137a96a
3 mainītis faili ar 24 papildinājumiem un 0 dzēšanām
  1. +8
    -0
      images/gotls13/Dockerfile
  2. +16
    -0
      images/gotls13/Makefile
  3. Binārs
     

+ 8
- 0
images/gotls13/Dockerfile Parādīt failu

@@ -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/Makefile Parādīt failu

@@ -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ārs
Parādīt failu


Notiek ielāde…
Atcelt
Saglabāt