mirror of
https://github.com/ViViDboarder/bitwarden_rs_ldap.git
synced 2024-12-22 00:57:33 +00:00
chore: use ubuntu image to reduce image size (#142)
* chore: use ubuntu image to reduce image size * fix(lint): hadolint issues
This commit is contained in:
parent
5f63df3dee
commit
0feac2d904
@ -18,8 +18,9 @@ RUN rm ./target/release/deps/vaultwarden_ldap*
|
||||
COPY src ./src
|
||||
RUN cargo build --release
|
||||
|
||||
FROM rust:$RUN_TAG
|
||||
FROM ubuntu:focal
|
||||
WORKDIR /app
|
||||
RUN apt-get update -y && apt-get install -y libssl-dev=1.1.1f-1ubuntu2.20 --no-install-recommends && rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=builder /usr/src/vaultwarden_ldap/target/release/vaultwarden_ldap /usr/local/bin/
|
||||
|
||||
CMD ["/usr/local/bin/vaultwarden_ldap"]
|
||||
|
Loading…
Reference in New Issue
Block a user