mirror of
https://github.com/ViViDboarder/bitwarden_rs_ldap.git
synced 2024-12-23 09:37:33 +00:00
Upgrade rust, ubuntu, and dependencies
This commit is contained in:
parent
10f5f5edc6
commit
7baa18110e
732
Cargo.lock
generated
732
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
13
Dockerfile
13
Dockerfile
@ -1,7 +1,4 @@
|
||||
ARG BUILD_TAG=1.57.0
|
||||
ARG RUN_TAG=$BUILD_TAG
|
||||
|
||||
FROM rust:$BUILD_TAG as builder
|
||||
FROM rust:1.79 as builder
|
||||
|
||||
WORKDIR /usr/src/
|
||||
RUN USER=root cargo new --bin vaultwarden_ldap
|
||||
@ -18,9 +15,11 @@ RUN rm ./target/release/deps/vaultwarden_ldap*
|
||||
COPY src ./src
|
||||
RUN cargo build --release
|
||||
|
||||
FROM ubuntu:focal
|
||||
WORKDIR /app
|
||||
RUN apt-get update -y && apt-get install -y libssl-dev=1.1.1f-1ubuntu2.22 --no-install-recommends && rm -rf /var/lib/apt/lists/*
|
||||
# Use most recent ubuntu LTS release
|
||||
FROM ubuntu:24.04
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends 'libssl-dev=3.*' \
|
||||
&& rm -rf /var/cache/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