Update all Docker images to Debian Bookworm (#1558)

This commit is contained in:
Matthias Endler 2024-11-07 16:46:02 +01:00 committed by GitHub
parent e794b40d4d
commit a28c92b2dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.236.0/containers/rust/.devcontainer/base.Dockerfile
# [Choice] Debian OS version (use bullseye on local arm64/Apple Silicon): buster, bullseye
ARG VARIANT="buster"
# [Choice] Debian OS version (use bookworm on local arm64/Apple Silicon): buster, bullseye, bookworm
ARG VARIANT="bookworm"
FROM mcr.microsoft.com/vscode/devcontainers/rust:0-${VARIANT}

View file

@ -5,9 +5,9 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
// Use the VARIANT arg to pick a Debian OS version: buster, bullseye
// Use bullseye when on local on arm64/Apple Silicon.
"VARIANT": "bullseye"
// Use the VARIANT arg to pick a Debian OS version: buster, bullseye, bookworm
// Use bookworm when on local on arm64/Apple Silicon.
"VARIANT": "bookworm"
}
},
"runArgs": [

View file

@ -1,4 +1,4 @@
FROM debian:bullseye-slim AS builder
FROM debian:bookworm-slim AS builder
WORKDIR /builder
RUN apt-get update \
@ -17,7 +17,7 @@ RUN apt-get update \
esac \
&& chmod +x lychee
FROM debian:bullseye-slim
FROM debian:bookworm-slim
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \