From bec3683b4477bb0d2a70f8569642d24fda9f281f Mon Sep 17 00:00:00 2001 From: Stein Ivar Berghei Date: Sun, 20 Aug 2023 11:43:47 +0200 Subject: [PATCH] Update image to bookworm --- .dockerignore | 16 ++++++++++++++++ Dockerfile.bot | 6 +++--- 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..c1ca5b3 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,16 @@ +ambiance +bin +cache +config +cookies.txt +dndmusicbot +Dockerfile +.git +.gitignore +.dockerignore +.jsimage +k8s +MPD +oauth.cfg +test +src diff --git a/Dockerfile.bot b/Dockerfile.bot index ece0c9b..59a544a 100644 --- a/Dockerfile.bot +++ b/Dockerfile.bot @@ -1,14 +1,14 @@ -FROM golang:1.20 as builder +FROM golang:1.21-bookworm as builder WORKDIR /src COPY . . RUN apt-get update && apt-get -y install libopus-dev libopusfile-dev && \ go build -FROM debian:bullseye-slim +FROM debian:bookworm-slim RUN apt-get update && apt-get -y install \ ca-certificates \ libopus-dev libopusfile-dev \ - mpd + mpd ffmpeg COPY --from=builder /src/dndmusicbot /app/ ADD tmpl /app/tmpl