Skip to content

Commit

Permalink
Merge pull request #3694 from DataDog/update-buster-docker-images
Browse files Browse the repository at this point in the history
Move away from Debian Buster
  • Loading branch information
lloeki authored Jun 18, 2024
2 parents 75278d6 + a739b31 commit 4b19011
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 43 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Note: See the "Publishing updates to images" note in ./README.md for how to publish new builds of this container image

FROM ruby:2.7.6
FROM ruby:2.7.8-bullseye

# Make apt non-interactive
RUN echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/90circleci \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Note: See the "Publishing updates to images" note in ./README.md for how to publish new builds of this container image

FROM ruby:3.3.0-bullseye
FROM ruby:3.0.7-bullseye

# Make apt non-interactive
RUN echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/90circleci \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Note: See the "Publishing updates to images" note in ./README.md for how to publish new builds of this container image

FROM ruby:3.0.4-bullseye
FROM ruby:3.1.6-bookworm

# Make apt non-interactive
RUN echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/90circleci \
Expand All @@ -15,7 +15,7 @@ RUN set -ex; \
apt-get install -y --no-install-recommends \
git mercurial xvfb \
locales sudo openssh-client ca-certificates tar gzip parallel \
net-tools netcat unzip zip bzip2 gnupg curl wget \
net-tools netcat-openbsd unzip zip bzip2 gnupg curl wget \
tzdata rsync vim less jq; \
rm -rf /var/lib/apt/lists/*;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Note: See the "Publishing updates to images" note in ./README.md for how to publish new builds of this container image

FROM ruby:3.1.2-bullseye
FROM ruby:3.2.4-bookworm

# Make apt non-interactive
RUN echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/90circleci \
Expand All @@ -15,7 +15,7 @@ RUN set -ex; \
apt-get install -y --no-install-recommends \
git mercurial xvfb \
locales sudo openssh-client ca-certificates tar gzip parallel \
net-tools netcat unzip zip bzip2 gnupg curl wget \
net-tools netcat-openbsd unzip zip bzip2 gnupg curl wget \
tzdata rsync vim less jq; \
rm -rf /var/lib/apt/lists/*;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Note: See the "Publishing updates to images" note in ./README.md for how to publish new builds of this container image

FROM ruby:3.2.0-bullseye
FROM ruby:3.3.2-bookworm

# Make apt non-interactive
RUN echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/90circleci \
Expand All @@ -15,7 +15,7 @@ RUN set -ex; \
apt-get install -y --no-install-recommends \
git mercurial xvfb \
locales sudo openssh-client ca-certificates tar gzip parallel \
net-tools netcat unzip zip bzip2 gnupg curl wget \
net-tools netcat-openbsd unzip zip bzip2 gnupg curl wget \
tzdata rsync vim less jq; \
rm -rf /var/lib/apt/lists/*;

Expand Down
13 changes: 1 addition & 12 deletions .circleci/images/primary/Dockerfile-jruby-9.2.21.0
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
# Note:
#
# There is an incompatibility between ethon and httprb on debian 11 bullseye.
# This is why this image is based on debian 10 buster.
#
# See:
# - https://github.com/jruby/jruby/issues/7033
# - https://github.com/DataDog/dd-trace-rb/pull/2380#issuecomment-1320994823

# Note: See the "Publishing updates to images" note in ./README.md for how to publish new builds of this container image

# openjdk:8-jre image is from https://github.com/docker-library/openjdk/blob/a0c4da867ddd1a11408b7ec5032f12130bdc5476/8/jre/buster/Dockerfile
# note: docker-library/openjdk is deprecated, there is a later move to https://hub.docker.com/_/eclipse-temurin
FROM openjdk:8-jre-buster AS jruby-9.2.21.0-jre8
FROM eclipse-temurin:8-jammy AS jruby-9.2.21.0-jre8

RUN apt-get update && apt-get install -y libc6-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*

Expand Down
13 changes: 1 addition & 12 deletions .circleci/images/primary/Dockerfile-jruby-9.3.9.0
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
# Note:
#
# There is an incompatibility between ethon and httprb on debian 11 bullseye.
# This is why this image is based on debian 10 buster.
#
# See:
# - https://github.com/jruby/jruby/issues/7033
# - https://github.com/DataDog/dd-trace-rb/pull/2380#issuecomment-1320994823

# Note: See the "Publishing updates to images" note in ./README.md for how to publish new builds of this container image

# openjdk:11-jre image is from https://github.com/docker-library/openjdk/blob/8dfb0c5645098b8c330c4811c8228cae52f18388/11/jre/buster/Dockerfile
# note: docker-library/openjdk is deprecated, there is a later move to https://hub.docker.com/_/eclipse-temurin
FROM openjdk:11-jre-buster AS jruby-9.3.9.0-jre11
FROM eclipse-temurin:11-jammy AS jruby-9.3.9.0-jre11

RUN apt-get update && apt-get install -y libc6-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*

Expand Down
1 change: 0 additions & 1 deletion .circleci/images/primary/Dockerfile-jruby-9.4.7.0
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,3 @@ RUN mkdir /app
WORKDIR /app

CMD ["/bin/sh"]

20 changes: 10 additions & 10 deletions .github/workflows/build-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,20 @@ jobs:
version: 2.6.10
dockerfile: Dockerfile-2.6.10
- engine: ruby
version: 2.7.6
dockerfile: Dockerfile-2.7.6
version: 2.7.8
dockerfile: Dockerfile-2.7.8
- engine: ruby
version: 3.0.4
dockerfile: Dockerfile-3.0.4
version: 3.0.7
dockerfile: Dockerfile-3.0.7
- engine: ruby
version: 3.1.2
dockerfile: Dockerfile-3.1.2
version: 3.1.6
dockerfile: Dockerfile-3.1.6
- engine: ruby
version: 3.2.0
dockerfile: Dockerfile-3.2.0
version: 3.2.4
dockerfile: Dockerfile-3.2.4
- engine: ruby
version: 3.3.0
dockerfile: Dockerfile-3.3.0
version: 3.3.2
dockerfile: Dockerfile-3.3.2
- engine: ruby
version: 3.4.0
dockerfile: Dockerfile-3.4.0
Expand Down

0 comments on commit 4b19011

Please sign in to comment.