certidude icon indicating copy to clipboard operation
certidude copied to clipboard

Dockerize Certidude server

Open laurivosandi opened this issue 10 years ago • 2 comments

To make adoption easier, Certidude server could be wrapped up as a Docker image.

laurivosandi avatar Feb 07 '16 13:02 laurivosandi

Hi, I thing this idea is really good and I have seen in the readme something about it but the Dockerfile is missing... Is the first time that you find first documentation than code! hehe. @laurivosandi Could you commit it? Thank you!

antoniomolram avatar Aug 27 '18 08:08 antoniomolram

For those still looking for this, here's the fix:

git clone https://github.com/werty1st/certidude
cd certidude
sed -i 's/ubuntu:16/ubuntu:20/' docker/Dockerfile
sed -i 's/apt install/DEBIAN_FRONTEND=noninteractive apt install/' docker/Dockerfile
sed -i 's/xenial/focal/' certidude/cli.py
sed -i "1106d" certidude/cli.py
export LC_ALL=C.UTF-8 && export LANG=C.UTF-8
docker build --add-host adamsCA.local:127.0.0.1  -t certidude -f docker/Dockerfile .
docker run -it --rm -p 8443:443 --hostname adamsCA.local certidude:latest bash

ghost avatar Feb 03 '21 04:02 ghost