mirror of
https://github.com/m8tin/cis.git
synced 2025-12-06 07:48:26 +01:00
Solution for issuing and renewing certificates
This commit is contained in:
20
script/ssl/Dockerfile
Normal file
20
script/ssl/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
###########################################################################
|
||||
# Dockerfile to build a Container to update TLS Certificates automatically.
|
||||
# Based on latest Ubuntu LTS
|
||||
###########################################################################
|
||||
# See https://hub.docker.com/_/ubuntu
|
||||
FROM ubuntu:latest
|
||||
|
||||
# Update repositories
|
||||
RUN echo Version 20251030v1
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y apt-utils
|
||||
|
||||
#### BEGIN INSTALLATION ###################################################
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y cron curl dnsutils openssh-client
|
||||
|
||||
ADD acme.sh-3.1.1.tar.gz /tmp/acme.sh-setup/
|
||||
COPY renewCerts.sh /renewCerts.sh
|
||||
COPY start.sh /start.sh
|
||||
|
||||
# Run the command on container startup
|
||||
CMD ["bash", "/start.sh"]
|
||||
Reference in New Issue
Block a user