File tree 2 files changed +4
-21
lines changed
2 files changed +4
-21
lines changed Original file line number Diff line number Diff line change 1
- FROM ghcr . io /graalvm /graalvm -ce :ol8 -java11 - 21 .3. 3
1
+ FROM ghcr . io /graalvm /graalvm -ce :ol8 -java17 - 22 .3. 3
2
2
3
3
RUN microdnf update -y
4
4
RUN microdnf install wget -y
5
5
RUN wget https ://downloads . apache . org /maven /maven -3 /3.8 . 8 /binaries /apache -maven -3.8 . 8 -bin . tar . gz -P /tmp
6
6
RUN tar xf /tmp/apache -maven -3.8 . 8 -bin . tar . gz -C /opt
7
7
RUN ln -s /opt/apache -maven -3.8 . 8 /opt /maven
8
- RUN ln -s /opt/graalvm -ce -java11 - 21 .3. 3 /opt /graalvm
8
+ RUN ln -s /opt/graalvm -ce -java17 - 22 .3. 3 /opt /graalvm
9
9
RUN gu install native -image
10
10
11
11
ENV JAVA_HOME = /opt/graalvm
Original file line number Diff line number Diff line change 9
9
<name >Build and push a GraalVM application to ACR</name >
10
10
<properties >
11
11
<!-- other -->
12
- <java .version>11 </java .version>
12
+ <java .version>17 </java .version>
13
13
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
14
14
<!-- plugins -->
15
15
<azure-webapp-maven-plugin .version>2.12.0</azure-webapp-maven-plugin .version>
16
- <maven-compiler-plugin .version>3.11.0 </maven-compiler-plugin .version>
16
+ <maven-compiler-plugin .version>3.12.1 </maven-compiler-plugin .version>
17
17
<native-image-maven-plugin .version>21.2.0</native-image-maven-plugin .version>
18
18
</properties >
19
19
<build >
20
20
<finalName >graalvm</finalName >
21
21
<plugins >
22
- <plugin >
23
- <groupId >com.microsoft.azure</groupId >
24
- <artifactId >azure-webapp-maven-plugin</artifactId >
25
- <version >${azure-webapp-maven-plugin.version} </version >
26
- <configuration >
27
- <schemaVersion >V2</schemaVersion >
28
- <resourceGroup >${resourceGroup} </resourceGroup >
29
- <appName >${appName} </appName >
30
- <appServicePlanName >${appServicePlanName} </appServicePlanName >
31
- <runtime >
32
- <os >docker</os >
33
- <image >${image} </image >
34
- <serverId >${serverId} </serverId >
35
- <registryUrl >${registryUrl} </registryUrl >
36
- </runtime >
37
- </configuration >
38
- </plugin >
39
22
<plugin >
40
23
<groupId >org.apache.maven.plugins</groupId >
41
24
<artifactId >maven-compiler-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments