1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- FROM ghcr.io/graalvm/graalvm-community:21.0.2-ol7 -20240116
15+ FROM ghcr.io/graalvm/graalvm-community:21.0.2-ol9 -20240116
1616
17- RUN yum update -y && \
18- yum install -y wget unzip git && \
17+ # use microdnf, see https://github.com/graalvm/container/issues/10
18+ RUN microdnf update -y oraclelinux-release-el9 && \
19+ microdnf install -y wget unzip git && \
1920 # Install maven
2021 wget -q https://archive.apache.org/dist/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.zip -O /tmp/maven.zip && \
2122 unzip /tmp/maven.zip -d /tmp/maven && \
@@ -27,20 +28,22 @@ ENV PATH $PATH:/usr/local/lib/maven/bin
2728
2829# Install gcloud SDK
2930COPY google-cloud-sdk.repo /etc/yum.repos.d/google-cloud-sdk.repo
30- RUN yum install -y google-cloud-sdk
31+ RUN microdnf install -y google-cloud-sdk
3132
3233# Adding the package path to local
3334ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin
3435
3536# Install docker
36- RUN yum install -y docker-engine docker-cli
37+ # See also https://docs.docker.com/engine/install/rhel/#set-up-the-repository
38+ COPY docker-ce.repo /etc/yum.repos.d/docker-ce.repo
39+ RUN microdnf install -y docker-ce docker-ce-cli
3740
3841# Install terraform
3942# See also https://www.hashicorp.com/official-packaging-guide
4043COPY hashicorp.repo /etc/yum.repos.d/hashicorp.repo
41- RUN yum -y install terraform
44+ RUN microdnf -y install terraform
4245
4346# Install jq
44- RUN yum -y install jq
47+ RUN microdnf -y install jq
4548
4649WORKDIR /workspace
0 commit comments