Skip to content

Commit

Permalink
chore: update docker container to bookworm (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
refi64 authored Jun 5, 2024
2 parents 86c431d + 3c72de5 commit 47cae84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1-slim-bullseye AS build
FROM rust:1-slim-bookworm AS build
ARG DEBIAN_FRONTEND=noninteractive

ADD . /app
Expand All @@ -7,12 +7,12 @@ RUN apt-get update \
&& apt-get install -y pkg-config libssl-dev \
&& cargo build --release

FROM debian:bullseye-slim
FROM debian:bookworm-slim
ARG DEBIAN_FRONTEND=noninteractive

RUN adduser --uid 1001 --group --no-create-home --home /app lava-gitlab-runner

RUN apt update && apt install -y libssl1.1 ca-certificates
RUN apt update && apt install -y libssl3 ca-certificates
COPY --from=build /app/target/release/lava-gitlab-runner /usr/local/bin

USER lava-gitlab-runner
Expand Down

0 comments on commit 47cae84

Please sign in to comment.