Update image to bookworm
parent
1eb81d2da5
commit
bec3683b44
|
@ -0,0 +1,16 @@
|
||||||
|
ambiance
|
||||||
|
bin
|
||||||
|
cache
|
||||||
|
config
|
||||||
|
cookies.txt
|
||||||
|
dndmusicbot
|
||||||
|
Dockerfile
|
||||||
|
.git
|
||||||
|
.gitignore
|
||||||
|
.dockerignore
|
||||||
|
.jsimage
|
||||||
|
k8s
|
||||||
|
MPD
|
||||||
|
oauth.cfg
|
||||||
|
test
|
||||||
|
src
|
|
@ -1,14 +1,14 @@
|
||||||
FROM golang:1.20 as builder
|
FROM golang:1.21-bookworm as builder
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN apt-get update && apt-get -y install libopus-dev libopusfile-dev && \
|
RUN apt-get update && apt-get -y install libopus-dev libopusfile-dev && \
|
||||||
go build
|
go build
|
||||||
|
|
||||||
FROM debian:bullseye-slim
|
FROM debian:bookworm-slim
|
||||||
RUN apt-get update && apt-get -y install \
|
RUN apt-get update && apt-get -y install \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
libopus-dev libopusfile-dev \
|
libopus-dev libopusfile-dev \
|
||||||
mpd
|
mpd ffmpeg
|
||||||
|
|
||||||
COPY --from=builder /src/dndmusicbot /app/
|
COPY --from=builder /src/dndmusicbot /app/
|
||||||
ADD tmpl /app/tmpl
|
ADD tmpl /app/tmpl
|
||||||
|
|
Loading…
Reference in New Issue