Robert Kaussow
2ab44c662c
All checks were successful
continuous-integration/drone/push Build is passing
28 lines
645 B
Docker
28 lines
645 B
Docker
FROM thegeeklab/alpine
|
|
|
|
LABEL maintainer="Robert Kaussow <mail@thegeeklab.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 []
|