Skip to content

Commit

Permalink
Merge pull request #162 from alfrunes/cert-all
Browse files Browse the repository at this point in the history
chore(docker): add default ca certificate chain
  • Loading branch information
alfrunes authored Oct 31, 2024
2 parents c3a6919 + 4e66131 commit a7bf59b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions backend/services/deviceauth/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ ARG BIN_FILE=./dist/${TARGETOS}/${TARGETARCH}/deviceauth
USER $USER
COPY --chown=$USER backend/services/deviceauth/config.yaml /etc/deviceauth/config.yaml
COPY --from=builder --chown=$USER /build/deviceauth /usr/bin/deviceauth
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
ENTRYPOINT ["/usr/bin/deviceauth", "--config", "/etc/deviceauth/config.yaml"]
1 change: 1 addition & 0 deletions backend/services/deviceconfig/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ ARG USER=65534
USER $USER
COPY --chown=$USER backend/services/deviceconfig/config.yaml /etc/deviceconfig/config.yaml
COPY --from=builder --chown=$USER /build/deviceconfig /usr/bin/deviceconfig
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
ENTRYPOINT ["/usr/bin/deviceconfig", "--config", "/etc/deviceconfig/config.yaml"]
1 change: 1 addition & 0 deletions backend/services/deviceconnect/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ ARG USER=65534
USER $USER
COPY --chown=$USER backend/services/deviceconnect/config.yaml /etc/deviceconnect/config.yaml
COPY --from=builder --chown=$USER /build/deviceconnect /usr/bin/deviceconnect
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
ENTRYPOINT ["/usr/bin/deviceconnect", "--config", "/etc/deviceconnect/config.yaml"]
1 change: 1 addition & 0 deletions backend/services/inventory/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ ARG BIN_FILE=./dist/${TARGETOS}/${TARGETARCH}/inventory
USER $USER
COPY --chown=$USER backend/services/inventory/config.yaml /etc/inventory/config.yaml
COPY --from=builder --chown=$USER /build/inventory /usr/bin/inventory
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
ENTRYPOINT ["/usr/bin/inventory", "--config", "/etc/inventory/config.yaml"]

0 comments on commit a7bf59b

Please sign in to comment.