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"]