Ship default CA with container build
This commit is contained in:
parent
c97207e854
commit
55dfcfabab
2 changed files with 3 additions and 2 deletions
|
@ -81,4 +81,4 @@ dockers:
|
||||||
- "--label=org.opencontainers.image.version={{.Version}}"
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
||||||
extra_files:
|
extra_files:
|
||||||
- config-container.yaml
|
- config-container.yaml
|
||||||
- assets/fakeFiles/
|
- assets/
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Runtime layer
|
# Runtime layer
|
||||||
FROM alpine:3.12
|
FROM alpine:3.13
|
||||||
|
|
||||||
# Create appuser and group.
|
# Create appuser and group.
|
||||||
ARG USER=inetmock
|
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 inetmock imctl /usr/lib/inetmock/bin/
|
||||||
COPY --chown=$USER:$GROUP assets/fakeFiles /var/lib/inetmock/fakeFiles/
|
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
|
COPY config-container.yaml /etc/inetmock/config.yaml
|
||||||
|
|
||||||
RUN mkdir -p /var/run/inetmock /var/lib/inetmock/certs /usr/lib/inetmock && \
|
RUN mkdir -p /var/run/inetmock /var/lib/inetmock/certs /usr/lib/inetmock && \
|
||||||
|
|
Loading…
Reference in a new issue