mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-16 20:50:25 +00:00
Update all Docker images to Debian Bookworm (#1558)
This commit is contained in:
parent
e794b40d4d
commit
a28c92b2dc
3 changed files with 7 additions and 7 deletions
|
|
@ -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}
|
||||
|
|
@ -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": [
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue