Skip to content

Commit

Permalink
Add cert-related packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Palladinium committed Jan 9, 2024
1 parent 8b5cdd5 commit c4efb43
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
FROM rust:1.75-bullseye as build

RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y openssl pkg-config libssl-dev

COPY . /src
WORKDIR /src
RUN cargo build --release

FROM debian:bullseye-slim

RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y libssl1.1 ca-certificates && \
apt-get autoremove -y && \
apt-get clean -y

COPY COPYING ./

COPY --from=build /src/target/release/quartermaster ./quartermaster

EXPOSE 8000
ENTRYPOINT ["./quartermaster"]
CMD []

0 comments on commit c4efb43

Please sign in to comment.