27 lines
887 B
Docker
27 lines
887 B
Docker
FROM thegeeklab/alpine:latest@sha256:8c761e43f45cbf30a501373d342f3ab8ca65f2b0d93bf7493cea88f6ab6a8ff8
|
|
|
|
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
|
|
|
|
USER app
|
|
|
|
STOPSIGNAL SIGTERM
|
|
|
|
ENTRYPOINT ["/usr/local/bin/entrypoint"]
|
|
WORKDIR /app
|
|
CMD []
|