Robert Kaussow
9ad6505c39
All checks were successful
continuous-integration/drone/push Build is passing
28 lines
639 B
Docker
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 []
|