mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-09 15:52:54 +01:00
Add CA certificate file from build to docker image so HIBP lookups won't fail
This commit is contained in:
parent
dcdc4fb92f
commit
c08abd0aa3
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ FROM scratch
|
||||||
LABEL maintainer="wn@neessen.net"
|
LABEL maintainer="wn@neessen.net"
|
||||||
COPY ["docker-files/passwd", "/etc/passwd"]
|
COPY ["docker-files/passwd", "/etc/passwd"]
|
||||||
COPY ["docker-files/group", "/etc/group"]
|
COPY ["docker-files/group", "/etc/group"]
|
||||||
|
COPY --from=builder ["/etc/ssl/certs/ca-certificates.crt", "/etc/ssl/cert.pem"]
|
||||||
COPY --chown=apg-go ["LICENSE", "/apg-go/LICENSE"]
|
COPY --chown=apg-go ["LICENSE", "/apg-go/LICENSE"]
|
||||||
COPY --chown=apg-go ["README.md", "/apg-go/README.md"]
|
COPY --chown=apg-go ["README.md", "/apg-go/README.md"]
|
||||||
COPY --from=builder --chown=apg-go ["/builddir/apg-go", "/apg-go/apg-go"]
|
COPY --from=builder --chown=apg-go ["/builddir/apg-go", "/apg-go/apg-go"]
|
||||||
|
|
Loading…
Reference in a new issue