Robert Kaussow
dbf265e0a8
Co-authored-by: Robert Kaussow <mail@geeklabor.de> Reviewed-on: docker/vaultwarden-ldap#29 Co-authored-by: Robert Kaussow <xoxys@rknet.org> Co-committed-by: Robert Kaussow <xoxys@rknet.org>
29 lines
905 B
Docker
29 lines
905 B
Docker
FROM thegeeklab/alpine:latest@sha256:3de659c1a479d9d80e9c3924227981450af3a068087545a47360cfc2e70a91cc
|
|
|
|
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/docker/vaultwarden-ldap"
|
|
LABEL org.opencontainers.image.source="https://gitea.rknet.org/docker/vaultwarden-ldap"
|
|
LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/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
|
|
|
|
VOLUME /app/data
|
|
|
|
USER app
|
|
|
|
STOPSIGNAL SIGTERM
|
|
|
|
ENTRYPOINT ["/usr/local/bin/entrypoint"]
|
|
WORKDIR /app
|
|
CMD []
|