mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-08 02:47:42 +02:00
17 lines
563 B
Docker
17 lines
563 B
Docker
FROM alpine:latest
|
|
|
|
RUN apk update && \
|
|
apk add --no-cache openssl && \
|
|
rm -rf /var/cache/apk/*
|
|
|
|
RUN echo "[ v3_ca ]" >>/etc/ssl/openssl.cnf && \
|
|
echo "basicConstraints = critical, CA:TRUE" >>/etc/ssl/openssl.cnf && \
|
|
echo "subjectKeyIdentifier = hash" >>/etc/ssl/openssl.cnf && \
|
|
echo "authorityKeyIdentifier = keyid:always,issuer:always" >>/etc/ssl/openssl.cnf && \
|
|
echo "keyUsage = critical, digitalSignature, cRLSign, keyCertSign" >>/etc/ssl/openssl.cnf
|
|
|
|
COPY entrypoint.sh /
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|