Dockerfile 484 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM primekey/ejbca-ce:6.15.2.1

# Add a shell script to configure EJBCA.
COPY ejbca-config.sh /usr/local/bin/

USER root

# Replace the Organisation string with a custom one to better differentiate it
# from productions certs.
RUN sed -i "s/EJBCA Container Quickstart/EJBCA Docker dev certificate/g" \
  /opt/primekey/bin/internal/after-deployed-app-create-certificate.sh

RUN chown 10001:10001 /usr/local/bin/ejbca-config.sh
RUN chmod 755 /usr/local/bin/ejbca-config.sh

USER 10001