From 8a3a01d5c6e99f57d80d8b4be0d13cd9fee860f6 Mon Sep 17 00:00:00 2001 From: tyranron Date: Wed, 3 Jul 2024 11:56:37 +0300 Subject: [PATCH] Remove Debian `buster` images due to EOL --- .github/workflows/beta.yml | 14 -------------- .github/workflows/nightly.yml | 10 ---------- .github/workflows/stable.yml | 14 -------------- README.md | 14 +------------- beta/buster-slim/Dockerfile | 29 ----------------------------- beta/buster/Dockerfile | 17 ----------------- 6 files changed, 1 insertion(+), 97 deletions(-) delete mode 100644 beta/buster-slim/Dockerfile delete mode 100644 beta/buster/Dockerfile diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 3f122d0..aeeae2e 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -19,8 +19,6 @@ jobs: - bookworm-slim - bullseye - bullseye-slim - - buster - - buster-slim runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -71,8 +69,6 @@ jobs: - bookworm-slim - bullseye - bullseye-slim - - buster - - buster-slim include: - os: alpine3.20 tags: | @@ -113,16 +109,6 @@ jobs: -bullseye-slim -beta-bullseye-slim beta-bullseye-slim - - os: buster - tags: | - -buster - -beta-buster - beta-buster - - os: buster-slim - tags: | - -buster-slim - -beta-buster-slim - beta-buster-slim runs-on: ubuntu-latest steps: # Skip if this is fork and no credentials are provided. diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 672d13a..d523995 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -22,8 +22,6 @@ jobs: - bookworm-slim - bullseye - bullseye-slim - - buster - - buster-slim include: - os: alpine3.20 tags: | @@ -55,14 +53,6 @@ jobs: tags: | nightly-bullseye-slim- nightly-bullseye-slim - - os: buster - tags: | - nightly-buster- - nightly-buster - - os: buster-slim - tags: | - nightly-buster-slim- - nightly-buster-slim runs-on: ubuntu-latest steps: # Skip if this is fork and no credentials are provided. diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml index 332eed4..0e587d8 100644 --- a/.github/workflows/stable.yml +++ b/.github/workflows/stable.yml @@ -22,8 +22,6 @@ jobs: - slim-bookworm - bullseye - slim-bullseye - - buster - - slim-buster include: - os: alpine3.20 tags: | @@ -73,18 +71,6 @@ jobs: -slim-bullseye -slim-bullseye slim-bullseye - - os: buster - tags: | - -buster - -buster - -buster - buster - - os: slim-buster - tags: | - -slim-buster - -slim-buster - -slim-buster - slim-buster runs-on: ubuntu-latest steps: # Skip if this is fork and no credentials are provided. diff --git a/README.md b/README.md index 5ceb480..a05baac 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,6 @@ Rust Docker Image Mirrors [official `rust` Docker images][1]. -- [`1-buster`, `1.79-buster`, `1.79.0-buster`, `buster`][301] -- [`1-slim-buster`, `1.79-slim-buster`, `1.79.0-slim-buster`, `slim-buster`][302] - [`1-bullseye`, `1.79-bullseye`, `1.79.0-bullseye`, `bullseye`][303] - [`1-slim-bullseye`, `1.79-slim-bullseye`, `1.79.0-slim-bullseye`, `slim-bullseye`][304] - [`1-bookworm`, `1.79-bookworm`, `1.79.0-bookworm`, `bookworm`, `1`, `1.79`, `1.79.0`, `latest`][305] @@ -29,8 +27,6 @@ Mirrors [official `rust` Docker images][1]. ### beta -- [`beta-buster`, `1.80.0-beta-buster`, `1.80.0-beta.$n-buster`][201] -- [`beta-buster-slim`, `1.80.0-beta-buster-slim`, `1.80.0-beta.$n-buster-slim`][202] - [`beta-bullseye`, `1.80.0-beta-bullseye`, `1.80.0-beta.$n-bullseye`][203] - [`beta-bullseye-slim`, `1.80.0-beta-bullseye-slim`, `1.80.0-beta.$n-bullseye-slim`][204] - [`beta`, `1.80.0-beta`, `1.80.0-beta.$n`, `beta-bookworm`, `1.80.0-beta-bookworm`, `1.80.0-beta.$n-bookworm`][205] @@ -47,8 +43,6 @@ Mirrors [official `rust-lang/rust:nightly` Docker images][2], but preserves vers - [`nightly-slim`, `nightly-slim-$date`, `nightly-bookworm-slim`, `nightly-bookworm-slim-$date`][102] - [`nightly-bullseye`, `nightly-bullseye-$date`][103] - [`nightly-bullseye-slim`, `nightly-bullseye-slim-$date`][104] -- [`nightly-buster`, `nightly-buster-$date`][105] -- [`nightly-buster-slim`, `nightly-buster-slim-$date`][106] - [`nightly-alpine`, `nightly-alpine-$date`, `nightly-alpine3.20`, `nightly-alpine3.20-$date`][107] - [`nightly-alpine3.19`, `nightly-alpine3.19-$date`][108] @@ -116,7 +110,7 @@ The `instrumentisto/rust` images come in many flavors, each designed for a speci This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of. -Some of these tags may have names like `buster` or `bullseye` in them. These are the suite code names for [releases of Debian][11] and indicate which release the image is based on. If your image needs to install any additional packages beyond what comes with the image, you'll likely want to specify one of these explicitly to minimize breakage when there are new releases of Debian. +Some of these tags may have names like `bookworm` or `bullseye` in them. These are the suite code names for [releases of Debian][11] and indicate which release the image is based on. If your image needs to install any additional packages beyond what comes with the image, you'll likely want to specify one of these explicitly to minimize breakage when there are new releases of Debian. This tag is based off of [`buildpack-deps`][12]. `buildpack-deps` is designed for the average user of Docker who has many images on their system. It, by design, has a large number of extremely common Debian packages. This reduces the number of packages that images that derive from it need to install, thus reducing the overall size of all images on your system. @@ -181,13 +175,9 @@ If you have any problems with or questions about this image, please contact us t [102]: https://github.com/rust-lang/docker-rust/blob/master/nightly/bookworm/slim/Dockerfile [103]: https://github.com/rust-lang/docker-rust/blob/master/nightly/bullseye/Dockerfile [104]: https://github.com/rust-lang/docker-rust/blob/master/nightly/bullseye/slim/Dockerfile -[105]: https://github.com/rust-lang/docker-rust/blob/master/nightly/buster/Dockerfile -[106]: https://github.com/rust-lang/docker-rust/blob/master/nightly/buster/slim/Dockerfile [107]: https://github.com/rust-lang/docker-rust/blob/master/nightly/alpine3.20/Dockerfile [108]: https://github.com/rust-lang/docker-rust/blob/master/nightly/alpine3.19/Dockerfile -[201]: https://github.com/instrumentisto/rust-docker-image/blob/main/beta/buster/Dockerfile -[202]: https://github.com/instrumentisto/rust-docker-image/blob/main/beta/buster-slim/Dockerfile [203]: https://github.com/instrumentisto/rust-docker-image/blob/main/beta/bullseye/Dockerfile [204]: https://github.com/instrumentisto/rust-docker-image/blob/main/beta/bullseye-slim/Dockerfile [205]: https://github.com/instrumentisto/rust-docker-image/blob/main/beta/bookworm/Dockerfile @@ -195,8 +185,6 @@ If you have any problems with or questions about this image, please contact us t [209]: https://github.com/instrumentisto/rust-docker-image/blob/main/beta/alpine3.20/Dockerfile [210]: https://github.com/instrumentisto/rust-docker-image/blob/main/beta/alpine3.19/Dockerfile -[301]: https://github.com/rust-lang/docker-rust/blob/master/1.79.0/buster/Dockerfile -[302]: https://github.com/rust-lang/docker-rust/blob/master/1.79.0/buster/slim/Dockerfile [303]: https://github.com/rust-lang/docker-rust/blob/master/1.79.0/bullseye/Dockerfile [304]: https://github.com/rust-lang/docker-rust/blob/master/1.79.0/bullseye/slim/Dockerfile [305]: https://github.com/rust-lang/docker-rust/blob/master/1.79.0/bookworm/Dockerfile diff --git a/beta/buster-slim/Dockerfile b/beta/buster-slim/Dockerfile deleted file mode 100644 index d62d8b1..0000000 --- a/beta/buster-slim/Dockerfile +++ /dev/null @@ -1,29 +0,0 @@ -FROM debian:buster-slim - -ENV RUSTUP_HOME=/usr/local/rustup \ - CARGO_HOME=/usr/local/cargo \ - PATH=/usr/local/cargo/bin:$PATH - -RUN set -eux; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - ca-certificates \ - gcc \ - libc6-dev \ - wget \ - ; \ - \ - url="https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init"; \ - wget "$url"; \ - chmod +x rustup-init; \ - ./rustup-init -y --no-modify-path --default-toolchain beta --default-host x86_64-unknown-linux-gnu; \ - rm rustup-init; \ - chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \ - rustup --version; \ - cargo --version; \ - rustc --version; \ - \ - apt-get remove -y --auto-remove \ - wget \ - ; \ - rm -rf /var/lib/apt/lists/*; diff --git a/beta/buster/Dockerfile b/beta/buster/Dockerfile deleted file mode 100644 index 6783862..0000000 --- a/beta/buster/Dockerfile +++ /dev/null @@ -1,17 +0,0 @@ -FROM buildpack-deps:buster - -ENV RUSTUP_HOME=/usr/local/rustup \ - CARGO_HOME=/usr/local/cargo \ - PATH=/usr/local/cargo/bin:$PATH - -RUN set -eux; \ - \ - url="https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init"; \ - wget "$url"; \ - chmod +x rustup-init; \ - ./rustup-init -y --no-modify-path --default-toolchain beta --default-host x86_64-unknown-linux-gnu; \ - rm rustup-init; \ - chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \ - rustup --version; \ - cargo --version; \ - rustc --version;