fix(lint): hadolint issues

This commit is contained in:
DanCodes 2024-01-17 17:58:48 +00:00
parent ce6d158aa3
commit 17af796545
No known key found for this signature in database
GPG Key ID: 35DBDD19265B5C64
1 changed files with 1 additions and 2 deletions

View File

@ -20,8 +20,7 @@ RUN cargo build --release
FROM ubuntu:focal
WORKDIR /app
RUN apt update -y
RUN apt install -y libssl-dev --no-install-recommends
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"]