Skip to content

Commit

Permalink
Update all Docker images to Debian Bookworm (#1558)
Browse files Browse the repository at this point in the history
  • Loading branch information
mre authored Nov 7, 2024
1 parent e794b40 commit a28c92b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -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}
6 changes: 3 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile-CI.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:bullseye-slim AS builder
FROM debian:bookworm-slim AS builder
WORKDIR /builder

RUN apt-get update \
Expand All @@ -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 \
Expand Down

0 comments on commit a28c92b

Please sign in to comment.