Ship default CA with container build

This commit is contained in:
Peter 2021-01-27 10:23:29 +01:00
parent c97207e854
commit 55dfcfabab
Signed by: prskr
GPG key ID: C1DB5D2E8DB512F9
2 changed files with 3 additions and 2 deletions

View file

@ -81,4 +81,4 @@ dockers:
- "--label=org.opencontainers.image.version={{.Version}}"
extra_files:
- config-container.yaml
- assets/fakeFiles/
- assets/

View file

@ -1,5 +1,5 @@
# Runtime layer
FROM alpine:3.12
FROM alpine:3.13
# Create appuser and group.
ARG USER=inetmock
@ -20,6 +20,7 @@ RUN addgroup -S -g "${GROUP_ID}" "${GROUP}" && \
COPY --chown=$USER:$GROUP inetmock imctl /usr/lib/inetmock/bin/
COPY --chown=$USER:$GROUP assets/fakeFiles /var/lib/inetmock/fakeFiles/
COPY --chown=$USER:$GROUP assets/demoCA /var/lib/inetmock/ca
COPY config-container.yaml /etc/inetmock/config.yaml
RUN mkdir -p /var/run/inetmock /var/lib/inetmock/certs /usr/lib/inetmock && \