27 lines
906 B
Docker
27 lines
906 B
Docker
FROM docker.io/thegeeklab/alpine:latest@sha256:3e8f90bd724668f5e8b0ba79156602cab536c8c5b12c72ffcf3f0de79f12a94b
|
|
|
|
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
|
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
|
LABEL org.opencontainers.image.title="vaultwarden-ldap"
|
|
LABEL org.opencontainers.image.url="https://gitea.rknet.org/container/vaultwarden-ldap"
|
|
LABEL org.opencontainers.image.source="https://gitea.rknet.org/container/vaultwarden-ldap"
|
|
LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/container/vaultwarden-ldap"
|
|
|
|
ADD overlay/ /
|
|
|
|
RUN apk --update add ca-certificates && \
|
|
mkdir -p /app && \
|
|
rm -rf /var/cache/apk/* && \
|
|
rm -rf /tmp/* && \
|
|
chown -R app:app /app
|
|
|
|
ADD src/target/x86_64-unknown-linux-musl/release/vaultwarden_ldap /app
|
|
|
|
USER app
|
|
|
|
STOPSIGNAL SIGTERM
|
|
|
|
ENTRYPOINT ["/usr/local/bin/entrypoint"]
|
|
WORKDIR /app
|
|
CMD []
|