From 02ccff1d92fb1df186e79b73793929572c0706fc Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Sat, 12 Oct 2024 16:22:12 -0700 Subject: [PATCH] fix: match the versions in docker images to the released tags --- graalpy-community/Dockerfile.debian | 6 +++--- graalpy-community/Dockerfile.ol7 | 2 +- graalpy-community/Dockerfile.ol7-slim | 4 ++-- graalpy-community/Dockerfile.ol8 | 6 +++--- graalpy-community/Dockerfile.ol8-slim | 6 +++--- graalpy-community/Dockerfile.ol9 | 6 +++--- graalpy-community/Dockerfile.ol9-slim | 4 ++-- truffleruby-community/Dockerfile.debian | 4 ++-- truffleruby-community/Dockerfile.ol7 | 2 +- truffleruby-community/Dockerfile.ol7-slim | 2 +- truffleruby-community/Dockerfile.ol8 | 2 +- truffleruby-community/Dockerfile.ol8-slim | 2 +- truffleruby-community/Dockerfile.ol9 | 2 +- truffleruby-community/Dockerfile.ol9-slim | 2 +- truffleruby-community/README.md | 14 +++++++------- 15 files changed, 32 insertions(+), 32 deletions(-) diff --git a/graalpy-community/Dockerfile.debian b/graalpy-community/Dockerfile.debian index 09dc9e9..4b4b899 100644 --- a/graalpy-community/Dockerfile.debian +++ b/graalpy-community/Dockerfile.debian @@ -3,7 +3,7 @@ # Copyright (c) 2023 Oracle and/or its affiliates. #do -ARG BASE_IMAGE=debian:buster-slim +ARG BASE_IMAGE=debian:sid-slim FROM ${BASE_IMAGE} @@ -14,7 +14,7 @@ LABEL \ org.opencontainers.image.authors='GraalVM Sustaining Team ' \ org.opencontainers.image.description='GraalPy is the GraalVM high-performance implementation of the Python programming language.' -ARG GRAALVM_VERSION=24.0.2 +ARG GRAALVM_VERSION=24.1.0 ARG GRAALVM_PKG=https://github.com/oracle/graalpython/releases/download/graal-$GRAALVM_VERSION/graalpy-community-$GRAALVM_VERSION-linux-amd64.tar.gz WORKDIR /app @@ -40,4 +40,4 @@ RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen \ RUN graalpy -m venv graalenv \ && echo "source graalenv/bin/activate" >> ~/.bashrc -CMD ["graalpy"] \ No newline at end of file +CMD ["graalpy"] diff --git a/graalpy-community/Dockerfile.ol7 b/graalpy-community/Dockerfile.ol7 index 3abc701..bce5515 100644 --- a/graalpy-community/Dockerfile.ol7 +++ b/graalpy-community/Dockerfile.ol7 @@ -13,7 +13,7 @@ LABEL \ org.opencontainers.image.authors='GraalVM Sustaining Team ' \ org.opencontainers.image.description='GraalPy is the GraalVM high-performance implementation of the Python programming language.' -ARG GRAALVM_VERSION=24.0.2 +ARG GRAALVM_VERSION=24.1.0 ARG GRAALVM_PKG=https://github.com/oracle/graalpython/releases/download/graal-$GRAALVM_VERSION/graalpy-community-$GRAALVM_VERSION-linux-amd64.tar.gz ARG TEMP_REGION="" diff --git a/graalpy-community/Dockerfile.ol7-slim b/graalpy-community/Dockerfile.ol7-slim index 53b7a03..474ed95 100644 --- a/graalpy-community/Dockerfile.ol7-slim +++ b/graalpy-community/Dockerfile.ol7-slim @@ -14,7 +14,7 @@ LABEL \ org.opencontainers.image.authors='GraalVM Sustaining Team ' \ org.opencontainers.image.description='GraalPy is the GraalVM high-performance implementation of the Python programming language.' -ARG GRAALVM_VERSION=24.0.2 +ARG GRAALVM_VERSION=24.1.0 ARG GRAALVM_PKG=https://github.com/oracle/graalpython/releases/download/graal-$GRAALVM_VERSION/graalpy-community-$GRAALVM_VERSION-linux-amd64.tar.gz ARG TEMP_REGION="" @@ -38,4 +38,4 @@ RUN set -eux \ RUN graalpy -m venv graalenv \ && echo "source graalenv/bin/activate" >> ~/.bashrc -CMD [ "graalpy"] \ No newline at end of file +CMD [ "graalpy"] diff --git a/graalpy-community/Dockerfile.ol8 b/graalpy-community/Dockerfile.ol8 index e2830af..1e8475e 100644 --- a/graalpy-community/Dockerfile.ol8 +++ b/graalpy-community/Dockerfile.ol8 @@ -14,7 +14,7 @@ LABEL \ org.opencontainers.image.authors='GraalVM Sustaining Team ' \ org.opencontainers.image.description='GraalPy is the GraalVM high-performance implementation of the Python programming language.' -ARG GRAALVM_VERSION=24.0.2 +ARG GRAALVM_VERSION=24.1.0 ARG GRAALVM_PKG=https://github.com/oracle/graalpython/releases/download/graal-$GRAALVM_VERSION/graalpy-community-$GRAALVM_VERSION-linux-amd64.tar.gz ARG TEMP_REGION="" @@ -34,7 +34,7 @@ RUN set -eux \ && mkdir -p /opt/graalpy-$GRAALVM_VERSION \ && curl --fail --silent --location --retry 3 $GRAALVM_PKG | gunzip | tar x -C /opt/graalpy-$GRAALVM_VERSION --strip-components=1 -RUN graalpy -m venv graalenv \ +RUN graalpy -m venv graalenv \ && echo "source graalenv/bin/activate" >> ~/.bashrc -CMD [ "graalpy"] \ No newline at end of file +CMD [ "graalpy"] diff --git a/graalpy-community/Dockerfile.ol8-slim b/graalpy-community/Dockerfile.ol8-slim index b0db92b..d9e0cab 100644 --- a/graalpy-community/Dockerfile.ol8-slim +++ b/graalpy-community/Dockerfile.ol8-slim @@ -14,7 +14,7 @@ LABEL \ org.opencontainers.image.authors='GraalVM Sustaining Team ' \ org.opencontainers.image.description='GraalPy is the GraalVM high-performance implementation of the Python programming language.' -ARG GRAALVM_VERSION=24.0.2 +ARG GRAALVM_VERSION=24.1.0 ARG GRAALVM_PKG=https://github.com/oracle/graalpython/releases/download/graal-$GRAALVM_VERSION/graalpy-community-$GRAALVM_VERSION-linux-amd64.tar.gz ARG TEMP_REGION="" @@ -34,7 +34,7 @@ RUN set -eux \ && mkdir -p /opt/graalpy-$GRAALVM_VERSION \ && curl --fail --silent --location --retry 3 $GRAALVM_PKG | gunzip | tar x -C /opt/graalpy-$GRAALVM_VERSION --strip-components=1 -RUN graalpy -m venv graalenv \ +RUN graalpy -m venv graalenv \ && echo "source graalenv/bin/activate" >> ~/.bashrc -CMD [ "graalpy"] \ No newline at end of file +CMD [ "graalpy"] diff --git a/graalpy-community/Dockerfile.ol9 b/graalpy-community/Dockerfile.ol9 index 6c7432d..f1b801d 100644 --- a/graalpy-community/Dockerfile.ol9 +++ b/graalpy-community/Dockerfile.ol9 @@ -14,7 +14,7 @@ LABEL \ org.opencontainers.image.authors='GraalVM Sustaining Team ' \ org.opencontainers.image.description='GraalPy is the GraalVM high-performance implementation of the Python programming language.' -ARG GRAALVM_VERSION=24.0.2 +ARG GRAALVM_VERSION=24.1.0 ARG GRAALVM_PKG=https://github.com/oracle/graalpython/releases/download/graal-$GRAALVM_VERSION/graalpy-community-$GRAALVM_VERSION-linux-amd64.tar.gz ARG TEMP_REGION="" @@ -35,7 +35,7 @@ RUN set -eux \ && curl --fail --silent --location --retry 3 $GRAALVM_PKG | gunzip | tar x -C /opt/graalpy-$GRAALVM_VERSION --strip-components=1 -RUN graalpy -m venv graalenv \ +RUN graalpy -m venv graalenv \ && echo "source graalenv/bin/activate" >> ~/.bashrc -CMD ["graalpy"] \ No newline at end of file +CMD ["graalpy"] diff --git a/graalpy-community/Dockerfile.ol9-slim b/graalpy-community/Dockerfile.ol9-slim index a1fdccc..328a818 100644 --- a/graalpy-community/Dockerfile.ol9-slim +++ b/graalpy-community/Dockerfile.ol9-slim @@ -13,7 +13,7 @@ LABEL \ org.opencontainers.image.authors='GraalVM Sustaining Team ' \ org.opencontainers.image.description='GraalPy is the GraalVM high-performance implementation of the Python programming language.' -ARG GRAALVM_VERSION=24.0.2 +ARG GRAALVM_VERSION=24.1.0 ARG GRAALVM_PKG=https://github.com/oracle/graalpython/releases/download/graal-$GRAALVM_VERSION/graalpy-community-$GRAALVM_VERSION-linux-amd64.tar.gz ARG TEMP_REGION="" @@ -36,4 +36,4 @@ RUN set -eux \ RUN graalpy -m venv graalenv \ && echo "source graalenv/bin/activate" >> ~/.bashrc -CMD [ "graalpy"] \ No newline at end of file +CMD [ "graalpy"] diff --git a/truffleruby-community/Dockerfile.debian b/truffleruby-community/Dockerfile.debian index 8bc54eb..3f6ce9c 100644 --- a/truffleruby-community/Dockerfile.debian +++ b/truffleruby-community/Dockerfile.debian @@ -3,7 +3,7 @@ # Copyright (c) 2023 Oracle and/or its affiliates. # -ARG BASE_IMAGE=debian:buster-slim +ARG BASE_IMAGE=debian:sid-slim FROM ${BASE_IMAGE} @@ -14,7 +14,7 @@ LABEL \ org.opencontainers.image.authors='GraalVM Sustaining Team ' \ org.opencontainers.image.description='TruffleRuby is the GraalVM high-performance implementation of the Ruby programming language.' -ARG GRAALVM_VERSION=24.0.2 +ARG GRAALVM_VERSION=24.1.0 ARG TARGETPLATFORM ARG GRAALVM_PKG=https://github.com/oracle/truffleruby/releases/download/graal-$GRAALVM_VERSION/truffleruby-community-$GRAALVM_VERSION-GRAALVM_ARCH.tar.gz diff --git a/truffleruby-community/Dockerfile.ol7 b/truffleruby-community/Dockerfile.ol7 index 76c50a8..6486173 100644 --- a/truffleruby-community/Dockerfile.ol7 +++ b/truffleruby-community/Dockerfile.ol7 @@ -14,7 +14,7 @@ LABEL \ org.opencontainers.image.authors='GraalVM Sustaining Team ' \ org.opencontainers.image.description='TruffleRuby is the GraalVM high-performance implementation of the Ruby programming language.' -ARG GRAALVM_VERSION=24.0.2 +ARG GRAALVM_VERSION=24.1.0 ARG TARGETPLATFORM ARG GRAALVM_PKG=https://github.com/oracle/truffleruby/releases/download/graal-$GRAALVM_VERSION/truffleruby-community-$GRAALVM_VERSION-GRAALVM_ARCH.tar.gz ARG TEMP_REGION="" diff --git a/truffleruby-community/Dockerfile.ol7-slim b/truffleruby-community/Dockerfile.ol7-slim index d04159c..12dac7a 100644 --- a/truffleruby-community/Dockerfile.ol7-slim +++ b/truffleruby-community/Dockerfile.ol7-slim @@ -14,7 +14,7 @@ LABEL \ org.opencontainers.image.authors='GraalVM Sustaining Team ' \ org.opencontainers.image.description='TruffleRuby is the GraalVM high-performance implementation of the Ruby programming language.' -ARG GRAALVM_VERSION=24.0.2 +ARG GRAALVM_VERSION=24.1.0 ARG TARGETPLATFORM ARG GRAALVM_PKG=https://github.com/oracle/truffleruby/releases/download/graal-$GRAALVM_VERSION/truffleruby-community-$GRAALVM_VERSION-GRAALVM_ARCH.tar.gz ARG TEMP_REGION="" diff --git a/truffleruby-community/Dockerfile.ol8 b/truffleruby-community/Dockerfile.ol8 index 03e8c81..b937cf7 100644 --- a/truffleruby-community/Dockerfile.ol8 +++ b/truffleruby-community/Dockerfile.ol8 @@ -14,7 +14,7 @@ LABEL \ org.opencontainers.image.authors='GraalVM Sustaining Team ' \ org.opencontainers.image.description='TruffleRuby is the GraalVM high-performance implementation of the Ruby programming language.' -ARG GRAALVM_VERSION=24.0.2 +ARG GRAALVM_VERSION=24.1.0 ARG TARGETPLATFORM ARG GRAALVM_PKG=https://github.com/oracle/truffleruby/releases/download/graal-$GRAALVM_VERSION/truffleruby-community-$GRAALVM_VERSION-GRAALVM_ARCH.tar.gz ARG TEMP_REGION="" diff --git a/truffleruby-community/Dockerfile.ol8-slim b/truffleruby-community/Dockerfile.ol8-slim index 1286a64..888b221 100644 --- a/truffleruby-community/Dockerfile.ol8-slim +++ b/truffleruby-community/Dockerfile.ol8-slim @@ -14,7 +14,7 @@ LABEL \ org.opencontainers.image.authors='GraalVM Sustaining Team ' \ org.opencontainers.image.description='TruffleRuby is the GraalVM high-performance implementation of the Ruby programming language.' -ARG GRAALVM_VERSION=24.0.2 +ARG GRAALVM_VERSION=24.1.0 ARG TARGETPLATFORM ARG GRAALVM_PKG=https://github.com/oracle/truffleruby/releases/download/graal-$GRAALVM_VERSION/truffleruby-community-$GRAALVM_VERSION-GRAALVM_ARCH.tar.gz ARG TEMP_REGION="" diff --git a/truffleruby-community/Dockerfile.ol9 b/truffleruby-community/Dockerfile.ol9 index 62fa32e..d8bf440 100644 --- a/truffleruby-community/Dockerfile.ol9 +++ b/truffleruby-community/Dockerfile.ol9 @@ -14,7 +14,7 @@ LABEL \ org.opencontainers.image.authors='GraalVM Sustaining Team ' \ org.opencontainers.image.description='TruffleRuby is the GraalVM high-performance implementation of the Ruby programming language.' -ARG GRAALVM_VERSION=24.0.2 +ARG GRAALVM_VERSION=24.1.0 ARG TARGETPLATFORM ARG GRAALVM_PKG=https://github.com/oracle/truffleruby/releases/download/graal-$GRAALVM_VERSION/truffleruby-community-$GRAALVM_VERSION-GRAALVM_ARCH.tar.gz ARG TEMP_REGION="" diff --git a/truffleruby-community/Dockerfile.ol9-slim b/truffleruby-community/Dockerfile.ol9-slim index 0cf4bff..bcd3f33 100644 --- a/truffleruby-community/Dockerfile.ol9-slim +++ b/truffleruby-community/Dockerfile.ol9-slim @@ -14,7 +14,7 @@ LABEL \ org.opencontainers.image.authors='GraalVM Sustaining Team ' \ org.opencontainers.image.description='TruffleRuby is the GraalVM high-performance implementation of the Ruby programming language.' -ARG GRAALVM_VERSION=24.0.2 +ARG GRAALVM_VERSION=24.1.0 ARG TARGETPLATFORM ARG GRAALVM_PKG=https://github.com/oracle/truffleruby/releases/download/graal-$GRAALVM_VERSION/truffleruby-community-$GRAALVM_VERSION-GRAALVM_ARCH.tar.gz ARG TEMP_REGION="" diff --git a/truffleruby-community/README.md b/truffleruby-community/README.md index c617471..1e86745 100644 --- a/truffleruby-community/README.md +++ b/truffleruby-community/README.md @@ -1,7 +1,7 @@ # truffleruby-community -truffleruby-community is the [GraalVM](http://graalvm.org/) high-performance implementation of the [Ruby programming language](https://www.ruby-lang.org/en/). +truffleruby-community is the [GraalVM](http://graalvm.org/) high-performance implementation of the [Ruby programming language](https://www.ruby-lang.org/en/). ## Docker images @@ -13,22 +13,22 @@ See https://github.com/graalvm/container/pkgs/container/truffleruby-community * Oracle Linux 9 no toolchain: [`slim`/`slim-VERSION`](https://github.com/graalvm/container/blob/master/truffleruby-community/Dockerfile.ol9-slim). -* Oracle Linux 8: [`ol8`/`ol8-VERSION`](https://github.com/graalvm/container/blob/master/truffleruby-community/Dockerfile.ol8). +* Oracle Linux 8: [`ol8`/`ol8-VERSION`](https://github.com/graalvm/container/blob/master/truffleruby-community/Dockerfile.ol8). -* Oracle Linux 8 no toolchain: [`ol8-slim`/`ol8-slim-VERSION`](https://github.com/graalvm/container/blob/master/truffleruby-community/Dockerfile.ol8-slim). +* Oracle Linux 8 no toolchain: [`ol8-slim`/`ol8-slim-VERSION`](https://github.com/graalvm/container/blob/master/truffleruby-community/Dockerfile.ol8-slim). -* Oracle Linux 7: [`ol7`/`ol7-VERSION`](https://github.com/graalvm/container/blob/master/truffleruby-community/Dockerfile). +* Oracle Linux 7: [`ol7`/`ol7-VERSION`](https://github.com/graalvm/container/blob/master/truffleruby-community/Dockerfile). -* Oracle Linux 7 no toolchain: [`ol7-slim`/`ol7-slim-VERSION`](https://github.com/graalvm/container/blob/master/truffleruby-community/Dockerfile.slim). +* Oracle Linux 7 no toolchain: [`ol7-slim`/`ol7-slim-VERSION`](https://github.com/graalvm/container/blob/master/truffleruby-community/Dockerfile.slim). -* Debian 10: [`debian`/`debian-VERSION`](https://github.com/graalvm/container/blob/master/truffleruby-community/Dockerfile.debian). +* Debian Sid: [`debian`/`debian-VERSION`](https://github.com/graalvm/container/blob/master/truffleruby-community/Dockerfile.debian). The `no toolchain` variants mean the GraalVM LLVM toolchain and its dependencies needed to install C extensions are not included to save space. It is still possible to use gems with C extensions, but the gems must be installed before for instance using a multi-stage build, see [Multi-stage build for the no-toolchain images](#multi-stage-build-for-the-no-toolchain-images) below. ## How to use these images -The images are intended for use in the **FROM** field of a downstream Dockerfile. +The images are intended for use in the **FROM** field of a downstream Dockerfile. For example, specify `FROM ghcr.io/graalvm/truffleruby-community:latest` or another tag. Here is an example `Dockerfile`: