🐳 🐛 Fix SSL depends for Docker build
parent
0a3ca71c2d
commit
d41422ac6e
|
@ -1,3 +1,5 @@
|
|||
/target
|
||||
/Cargo.lock
|
||||
/old-git.tar.gz
|
||||
/ptth_server.toml
|
||||
/ptth_relay.toml
|
||||
/target
|
||||
|
|
|
@ -3,7 +3,7 @@ FROM rust:1.47-slim-buster as build
|
|||
WORKDIR /usr/src
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y git pkg-config
|
||||
&& apt-get install -y git pkg-config libssl-dev
|
||||
|
||||
# Make sure the dependencies are all cached so we won't hammer crates.io
|
||||
|
||||
|
@ -28,6 +28,7 @@ RUN git checkout "$gitcommithash" \
|
|||
FROM debian:buster-slim as deploy
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y libssl1.1 ca-certificates \
|
||||
&& apt-get upgrade
|
||||
|
||||
COPY --from=build /usr/src/target/release/ptth_relay /root
|
||||
|
|
Loading…
Reference in New Issue