Skip to content

Commit

Permalink
Add full OS update to ensure container is up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
wackysysadmin authored Dec 21, 2024
1 parent 9baad43 commit 3bfd441
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 3bfd441

Please sign in to comment.