Skip to content

Commit

Permalink
chore: update base image (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
tenstad authored Nov 29, 2022
1 parent 3263b87 commit 2eb038f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ COPY ./ ./
RUN cargo build --release


FROM rust:latest
FROM debian:bookworm-slim

RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
&& rm -rf /var/lib/apt/lists/* \
&& curl -LO "http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb" \
&& dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb

ENV TZ=Europe/Oslo
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
Expand Down

0 comments on commit 2eb038f

Please sign in to comment.