Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY . /app
USER root

RUN apt-get update
RUN apt-get install libssl-dev pkg-config -y
RUN apt-get install --no-install-recommends libssl-dev pkg-config -y && rm -rf /var/lib/apt/lists/*;
RUN cargo build --release

# Copy the binary into a new container for a smaller docker image
Expand All @@ -15,7 +15,7 @@ FROM debian:buster-slim
WORKDIR /etc/lust

RUN apt-get update \
&& apt-get install -y ca-certificates libssl-dev pkg-config \
&& apt-get install --no-install-recommends -y ca-certificates libssl-dev pkg-config \
&& rm -rf /var/lib/apt/lists/*

COPY --from=build /app/target/release/lust ./
Expand Down