fix: switch back to alpine to avoid networking issues #146

Merged
xoxys merged 1 commits from use-alpine into main 2023-12-01 20:54:43 +00:00
Showing only changes of commit 5969e9efc9 - Show all commits

View File

@ -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 --help && \
target/$(cat rust_target)/release/vaultwarden --version 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 maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="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.url="https://gitea.rknet.org/container/vaultwarden"
LABEL org.opencontainers.image.source="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" 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 --chown=65532:65532 /data /data
COPY --from=build /release/web-vault /web-vault 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 8000
EXPOSE 3012 EXPOSE 3012
STOPSIGNAL SIGTERM STOPSIGNAL SIGTERM
CMD ["/vaultwarden"] USER 65532
CMD ["/bin/vaultwarden"]