Skip to content

Commit

Permalink
switch to Debian Bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
danimo committed Dec 24, 2024
1 parent 7f7711e commit 60090f1
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,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM golang:1.23-bullseye AS build
FROM golang:1.23-bookworm AS build

RUN apt-get update && \
apt-get upgrade -y && \
Expand All @@ -24,10 +24,10 @@ ARG TARGETARCH
RUN GOOS=linux GOARCH=$TARGETARCH go build -ldflags="-w -s" -v -o srtrelay .

# clean start
FROM debian:bullseye
FROM debian:bookworm
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install --no-install-recommends -y libssl1.1 && \
apt-get install --no-install-recommends -y libssl3 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN useradd -l -m -r srtrelay
Expand Down

0 comments on commit 60090f1

Please sign in to comment.