Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readme: update default debian #135

Merged
merged 1 commit into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ Building on Debian/Ubuntu is very similar. If you are using `rustup`:

```dockerfile
# syntax=docker/dockerfile:1
FROM --platform=$BUILDPLATFORM rust:bullseye
FROM --platform=$BUILDPLATFORM rust:bookworm
RUN apt-get update && apt-get install -y clang lld
ARG TARGETPLATFORM
RUN xx-cargo build --release --target-dir ./build && \
Expand All @@ -457,7 +457,7 @@ RUN xx-cargo build --release --target-dir ./build && \

```dockerfile
# syntax=docker/dockerfile:1
FROM --platform=$BUILDPLATFORM debian:bullseye AS rustup
FROM --platform=$BUILDPLATFORM debian:bookworm AS rustup
RUN apt-get update && apt-get install -y curl ca-certificates
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --no-modify-path --profile minimal
ENV PATH="/root/.cargo/bin:$PATH"
Expand All @@ -474,7 +474,7 @@ Or distribution packages:

```dockerfile
# syntax=docker/dockerfile:1
FROM --platform=$BUILDPLATFORM debian:bullseye
FROM --platform=$BUILDPLATFORM debian:bookworm
RUN apt-get update && apt-get install -y clang lld cargo
ARG TARGETPLATFORM
RUN xx-apt-get install xx-c-essentials
Expand Down
2 changes: 1 addition & 1 deletion docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ target "test-debian" {
args = {
APT_MIRROR = "cdn-fastly.deb.debian.org"
TEST_BASE_TYPE = "debian"
TEST_BASE_IMAGE = "debian:bullseye"
TEST_BASE_IMAGE = "debian:bookworm"
}
}

Expand Down
Loading