From 3bfd44186d41268d883fe35655f428d275029add Mon Sep 17 00:00:00 2001 From: Sierra <1969608+wackysysadmin@users.noreply.github.com> Date: Sat, 21 Dec 2024 22:36:44 +0400 Subject: [PATCH] Add full OS update to ensure container is up to date --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9e39832..6c1f543 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,6 @@ FROM alpine:latest -RUN apk add openssl -CMD openssl ocsp -port $OCSP_INT_PORT -text -index $INDEX_FILE -CA $CA_FILE -rsigner $OCSP_CERT_FILE -rkey $OCSP_KEY_FILE -out $OCSP_LOG_FILE + +RUN apk update && apk upgrade #Fully update the image +RUN apk add openssl #Install OpenSSL + +CMD ["openssl ocsp -port $OCSP_INT_PORT -text -index $INDEX_FILE -CA $CA_FILE -rsigner $OCSP_CERT_FILE -rkey $OCSP_KEY_FILE -out $OCSP_LOG_FILE"]