Skip to content

Commit

Permalink
fix: match the versions in docker images to the released tags
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Oct 12, 2024
1 parent d65dc5d commit 02ccff1
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 32 deletions.
6 changes: 3 additions & 3 deletions graalpy-community/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand All @@ -14,7 +14,7 @@ LABEL \
org.opencontainers.image.authors='GraalVM Sustaining Team <[email protected]>' \
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
Expand All @@ -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"]
CMD ["graalpy"]
2 changes: 1 addition & 1 deletion graalpy-community/Dockerfile.ol7
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ LABEL \
org.opencontainers.image.authors='GraalVM Sustaining Team <[email protected]>' \
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=""

Expand Down
4 changes: 2 additions & 2 deletions graalpy-community/Dockerfile.ol7-slim
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL \
org.opencontainers.image.authors='GraalVM Sustaining Team <[email protected]>' \
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=""

Expand All @@ -38,4 +38,4 @@ RUN set -eux \
RUN graalpy -m venv graalenv \
&& echo "source graalenv/bin/activate" >> ~/.bashrc

CMD [ "graalpy"]
CMD [ "graalpy"]
6 changes: 3 additions & 3 deletions graalpy-community/Dockerfile.ol8
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL \
org.opencontainers.image.authors='GraalVM Sustaining Team <[email protected]>' \
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=""

Expand All @@ -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"]
CMD [ "graalpy"]
6 changes: 3 additions & 3 deletions graalpy-community/Dockerfile.ol8-slim
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL \
org.opencontainers.image.authors='GraalVM Sustaining Team <[email protected]>' \
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=""

Expand All @@ -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"]
CMD [ "graalpy"]
6 changes: 3 additions & 3 deletions graalpy-community/Dockerfile.ol9
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL \
org.opencontainers.image.authors='GraalVM Sustaining Team <[email protected]>' \
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=""

Expand All @@ -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"]
CMD ["graalpy"]
4 changes: 2 additions & 2 deletions graalpy-community/Dockerfile.ol9-slim
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ LABEL \
org.opencontainers.image.authors='GraalVM Sustaining Team <[email protected]>' \
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=""

Expand All @@ -36,4 +36,4 @@ RUN set -eux \
RUN graalpy -m venv graalenv \
&& echo "source graalenv/bin/activate" >> ~/.bashrc

CMD [ "graalpy"]
CMD [ "graalpy"]
4 changes: 2 additions & 2 deletions truffleruby-community/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand All @@ -14,7 +14,7 @@ LABEL \
org.opencontainers.image.authors='GraalVM Sustaining Team <[email protected]>' \
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

Expand Down
2 changes: 1 addition & 1 deletion truffleruby-community/Dockerfile.ol7
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL \
org.opencontainers.image.authors='GraalVM Sustaining Team <[email protected]>' \
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=""
Expand Down
2 changes: 1 addition & 1 deletion truffleruby-community/Dockerfile.ol7-slim
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL \
org.opencontainers.image.authors='GraalVM Sustaining Team <[email protected]>' \
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=""
Expand Down
2 changes: 1 addition & 1 deletion truffleruby-community/Dockerfile.ol8
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL \
org.opencontainers.image.authors='GraalVM Sustaining Team <[email protected]>' \
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=""
Expand Down
2 changes: 1 addition & 1 deletion truffleruby-community/Dockerfile.ol8-slim
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL \
org.opencontainers.image.authors='GraalVM Sustaining Team <[email protected]>' \
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=""
Expand Down
2 changes: 1 addition & 1 deletion truffleruby-community/Dockerfile.ol9
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL \
org.opencontainers.image.authors='GraalVM Sustaining Team <[email protected]>' \
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=""
Expand Down
2 changes: 1 addition & 1 deletion truffleruby-community/Dockerfile.ol9-slim
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL \
org.opencontainers.image.authors='GraalVM Sustaining Team <[email protected]>' \
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=""
Expand Down
14 changes: 7 additions & 7 deletions truffleruby-community/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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`:
Expand Down

0 comments on commit 02ccff1

Please sign in to comment.