mirror of
https://github.com/ViViDboarder/bitwarden_rs_ldap.git
synced 2024-11-23 11:46:27 +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
|
FROM rust:1.79 as builder
|
||||||
ARG RUN_TAG=$BUILD_TAG
|
|
||||||
|
|
||||||
FROM rust:$BUILD_TAG as builder
|
|
||||||
|
|
||||||
WORKDIR /usr/src/
|
WORKDIR /usr/src/
|
||||||
RUN USER=root cargo new --bin vaultwarden_ldap
|
RUN USER=root cargo new --bin vaultwarden_ldap
|
||||||
@ -18,9 +15,11 @@ RUN rm ./target/release/deps/vaultwarden_ldap*
|
|||||||
COPY src ./src
|
COPY src ./src
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
FROM ubuntu:focal
|
# Use most recent ubuntu LTS release
|
||||||
WORKDIR /app
|
FROM ubuntu:24.04
|
||||||
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/*
|
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/
|
COPY --from=builder /usr/src/vaultwarden_ldap/target/release/vaultwarden_ldap /usr/local/bin/
|
||||||
|
|
||||||
CMD ["/usr/local/bin/vaultwarden_ldap"]
|
CMD ["/usr/local/bin/vaultwarden_ldap"]
|
||||||
|
Loading…
Reference in New Issue
Block a user