This repository has been archived on 2024-02-03. You can view files and clone it, but cannot push or open issues or pull requests.
vaultwarden-ldap/Dockerfile
Robert Kaussow 9ad6505c39
All checks were successful
continuous-integration/drone/push Build is passing
refactoring
2020-02-22 17:32:27 +01:00

28 lines
639 B
Docker

FROM xoxys/alpine
LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
org.label-schema.name="bitwardenrs_ldap" \
org.label-schema.vcs-url="https://gitea.rknet.org/docker/bitwardenrs_ldap" \
org.label-schema.vendor="Robert Kaussow" \
org.label-schema.schema-version="1.0"
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/bitwarden_rs_ldap /app
VOLUME /app/data
USER app
STOPSIGNAL SIGTERM
ENTRYPOINT ["/usr/local/bin/entrypoint"]
WORKDIR /app
CMD []