Skip to content

Commit 69325b9

Browse files
committed
update graalvm b image
1 parent 756788e commit 69325b9

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.cloudbuild/graalvm-b.Dockerfile

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM ghcr.io/graalvm/graalvm-ce:ol7-java17-22.3.3-b1
15+
FROM ghcr.io/graalvm/graalvm-ce:ol9-java17-22.3.3-b1
1616

1717
RUN gu install native-image && \
18-
yum update -y && \
19-
yum install -y wget unzip git && \
18+
microdnf update -y oraclelinux-release-el9 && \
19+
microdnf install -y wget unzip git && \
2020
# Install maven
2121
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 && \
2222
unzip /tmp/maven.zip -d /tmp/maven && \
@@ -28,20 +28,22 @@ ENV PATH $PATH:/usr/local/lib/maven/bin
2828

2929
# Install gcloud SDK
3030
COPY google-cloud-sdk.repo /etc/yum.repos.d/google-cloud-sdk.repo
31-
RUN yum install -y google-cloud-sdk
31+
RUN microdnf install -y google-cloud-sdk
3232

3333
# Adding the package path to local
3434
ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin
3535

3636
# Install docker
37-
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
3840

3941
# Install terraform
4042
# See also https://www.hashicorp.com/official-packaging-guide
4143
COPY hashicorp.repo /etc/yum.repos.d/hashicorp.repo
42-
RUN yum -y install terraform
44+
RUN microdnf -y install terraform
4345

4446
# Install jq
45-
RUN yum -y install jq
47+
RUN microdnf -y install jq
4648

4749
WORKDIR /workspace

0 commit comments

Comments
 (0)