fix: switch back to alpine to avoid networking issues (#146)
All checks were successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/tag/build-package Pipeline was successful
ci/woodpecker/push/build-container Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
ci/woodpecker/tag/build-container Pipeline was successful
ci/woodpecker/tag/docs Pipeline was successful
ci/woodpecker/tag/notify Pipeline was successful
All checks were successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/tag/build-package Pipeline was successful
ci/woodpecker/push/build-container Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
ci/woodpecker/tag/build-container Pipeline was successful
ci/woodpecker/tag/docs Pipeline was successful
ci/woodpecker/tag/notify Pipeline was successful
While using `scratch` network connections from the container (e.g. to fetch icons) were not working due to missing SSL libraries and maybe other missing OS dependencies to make network connections. Reviewed-on: #146 Co-authored-by: Robert Kaussow <mail@thegeeklab.de> Co-committed-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
parent
c17d6e7f15
commit
6702ae020e
@ -44,11 +44,11 @@ RUN ldd target/$(cat rust_target)/release/vaultwarden && \
|
||||
target/$(cat rust_target)/release/vaultwarden --help && \
|
||||
target/$(cat rust_target)/release/vaultwarden --version
|
||||
|
||||
FROM scratch
|
||||
FROM docker.io/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0
|
||||
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.title="vaultwarden"
|
||||
LABEL org.opencontainers.image.title="Vaultwarden"
|
||||
LABEL org.opencontainers.image.url="https://gitea.rknet.org/container/vaultwarden"
|
||||
LABEL org.opencontainers.image.source="https://gitea.rknet.org/container/vaultwarden"
|
||||
LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/container/vaultwarden"
|
||||
@ -61,11 +61,13 @@ ENV WEBSOCKET_PORT=3012
|
||||
|
||||
COPY --from=build --chown=65532:65532 /data /data
|
||||
COPY --from=build /release/web-vault /web-vault
|
||||
COPY --from=build /src/target/**/release/vaultwarden /
|
||||
COPY --from=build /src/target/**/release/vaultwarden /bin/vaultwarden
|
||||
|
||||
EXPOSE 8000
|
||||
EXPOSE 3012
|
||||
|
||||
STOPSIGNAL SIGTERM
|
||||
|
||||
CMD ["/vaultwarden"]
|
||||
USER 65532
|
||||
|
||||
CMD ["/bin/vaultwarden"]
|
||||
|
Loading…
Reference in New Issue
Block a user