Skip to content

Commit

Permalink
Update tests assertions to GraalVM 22.2 (micronaut-projects#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosanchez authored Jul 27, 2022
1 parent d2c2f67 commit 67b957d
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/it/dockerfile-docker-native-distroless/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/graalvm/native-image:ol7-java11-22.1.0 AS builder
FROM ghcr.io/graalvm/native-image:ol7-java11-22.2.0 AS builder
WORKDIR /home/app

COPY classes /home/app/classes
Expand Down
4 changes: 2 additions & 2 deletions src/it/dockerfile-docker-native-lambda/Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM amazonlinux:2 AS graalvm
ENV LANG=en_US.UTF-8
RUN yum update -y && yum install -y gcc gcc-c++ zlib-devel zip tar gzip && yum clean all
RUN curl -4 -L https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.1.0/graalvm-ce-java11-linux-aarch64-22.1.0.tar.gz -o /tmp/graalvm.tar.gz \
RUN curl -4 -L https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.2.0/graalvm-ce-java11-linux-aarch64-22.2.0.tar.gz -o /tmp/graalvm.tar.gz \
&& tar -zxf /tmp/graalvm.tar.gz -C /tmp \
&& mv /tmp/graalvm-ce-java11-22.1.0 /usr/lib/graalvm \
&& mv /tmp/graalvm-ce-java11-22.2.0 /usr/lib/graalvm \
&& rm -rf /tmp/*
RUN /usr/lib/graalvm/bin/gu install native-image
ENV PATH=/usr/lib/graalvm/bin:${PATH}
Expand Down
4 changes: 2 additions & 2 deletions src/it/dockerfile-docker-native-lambda/Dockerfile.amd64
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM amazonlinux:2 AS graalvm
ENV LANG=en_US.UTF-8
RUN yum update -y && yum install -y gcc gcc-c++ zlib-devel zip tar gzip && yum clean all
RUN curl -4 -L https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.1.0/graalvm-ce-java11-linux-amd64-22.1.0.tar.gz -o /tmp/graalvm.tar.gz \
RUN curl -4 -L https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.2.0/graalvm-ce-java11-linux-amd64-22.2.0.tar.gz -o /tmp/graalvm.tar.gz \
&& tar -zxf /tmp/graalvm.tar.gz -C /tmp \
&& mv /tmp/graalvm-ce-java11-22.1.0 /usr/lib/graalvm \
&& mv /tmp/graalvm-ce-java11-22.2.0 /usr/lib/graalvm \
&& rm -rf /tmp/*
RUN /usr/lib/graalvm/bin/gu install native-image
ENV PATH=/usr/lib/graalvm/bin:${PATH}
Expand Down
2 changes: 1 addition & 1 deletion src/it/dockerfile-docker-native-netty/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/graalvm/native-image:ol7-java11-22.1.0 AS builder
FROM ghcr.io/graalvm/native-image:ol7-java11-22.2.0 AS builder
WORKDIR /home/app

COPY classes /home/app/classes
Expand Down
2 changes: 1 addition & 1 deletion src/it/dockerfile-docker-native-oracle-function/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/graalvm/native-image:ol7-java11-22.1.0 AS builder
FROM ghcr.io/graalvm/native-image:ol7-java11-22.2.0 AS builder
WORKDIR /home/app

COPY classes /home/app/classes
Expand Down
2 changes: 1 addition & 1 deletion src/it/dockerfile-docker-native-static/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/graalvm/graalvm-ce:ol7-java11-22.1.0 AS builder
FROM ghcr.io/graalvm/graalvm-ce:ol7-java11-22.2.0 AS builder
RUN gu install native-image

WORKDIR /
Expand Down
2 changes: 1 addition & 1 deletion src/it/package-docker-native-static/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/graalvm/graalvm-ce:ol7-java11-22.1.0 AS builder
FROM ghcr.io/graalvm/graalvm-ce:ol7-java11-22.2.0 AS builder
RUN gu install native-image
WORKDIR /home/app

Expand Down

0 comments on commit 67b957d

Please sign in to comment.