bump to debian 11.

This commit is contained in:
Miroslav Šedivý 2021-09-01 19:45:58 +02:00
parent 2be75421ea
commit 4341257f14

View File

@ -1,7 +1,7 @@
# #
# Stage 1: Build. # Stage 1: Build.
# #
FROM golang:1.17-buster as build FROM golang:1.17-bullseye as build
WORKDIR /src WORKDIR /src
# #
@ -37,7 +37,7 @@ RUN go get -v -t -d . && go build \
# #
# Stage 2: Runtime. # Stage 2: Runtime.
# #
FROM debian:buster-slim as runtime FROM debian:bullseye-slim as runtime
# #
# set custom user # set custom user
@ -52,8 +52,8 @@ RUN set -eux; \
apt-get update; \ apt-get update; \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
wget ca-certificates supervisor \ wget ca-certificates supervisor \
pulseaudio dbus-x11 xserver-xorg-video-dummy xserver-xorg-input-void \ pulseaudio dbus-x11 xserver-xorg-video-dummy \
libcairo2 libxcb1 libxrandr2 libxv1 libopus0 libvpx5 \ libcairo2 libxcb1 libxrandr2 libxv1 libopus0 libvpx6 \
# #
# file chooser handler, clipboard # file chooser handler, clipboard
xdotool xclip \ xdotool xclip \