File tree Expand file tree Collapse file tree
native-image-shared-config Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- FROM ghcr.io/graalvm/graalvm-community:17 .0.9 -ol7
16- RUN gu install native-image && \
17- yum update -y && \
15+ FROM ghcr.io/graalvm/graalvm-community:21 .0.2 -ol7-20240116
16+
17+ RUN yum update -y && \
1818 yum install -y wget unzip git && \
1919 # Install maven
2020 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 && \
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ commandTests:
1717 - name : " version"
1818 command : ["java", "-version"]
1919 # java -version outputs to stderr...
20- expectedError : ["openjdk version \"17 .0.9 \"", "GraalVM CE 17 .0.9 "]
20+ expectedError : ["openjdk version \"21 .0.2 \"", "GraalVM CE 21 .0.2 "]
2121 - name : " maven"
2222 command : ["mvn", "-version"]
2323 expectedOutput : ["Apache Maven 3.9.4"]
Original file line number Diff line number Diff line change 1616set -eo pipefail
1717set -x
1818
19-
2019function modify_shared_config() {
2120 xmllint --shell pom.xml << EOF
2221 setns x=http://maven.apache.org/POM/4.0.0
@@ -54,7 +53,7 @@ pushd sdk-platform-java/showcase/gapic-showcase
5453SHOWCASE_VERSION=$( mvn help:evaluate -Dexpression=gapic-showcase.version -q -DforceStdout)
5554popd
5655
57- # # Start showcase server
56+ # Start showcase server
5857mkdir -p /usr/src/showcase
5958curl --location https://github.com/googleapis/gapic-showcase/releases/download/v" ${SHOWCASE_VERSION} " /gapic-showcase-" ${SHOWCASE_VERSION} " -linux-amd64.tar.gz --output /usr/src/showcase/showcase-" ${SHOWCASE_VERSION} " -linux-amd64.tar.gz
6059pushd /usr/src/showcase/
Original file line number Diff line number Diff line change 5858 </licenses >
5959
6060 <properties >
61+ <graal-sdk .version>24.0.2</graal-sdk .version>
6162 <surefire .version>3.3.1</surefire .version>
62- <graal-sdk .version>22.3.5</graal-sdk .version>
6363 <graal-sdk-nativeimage .version>24.0.2</graal-sdk-nativeimage .version>
6464 <native-maven-plugin .version>0.10.2</native-maven-plugin .version>
6565 <junit-vintage-engine .version>5.10.3</junit-vintage-engine .version>
6666 <opentest4j .version>1.3.0</opentest4j .version>
67+ <ignoredDependencies >org.graalvm.sdk:nativeimage</ignoredDependencies >
6768 </properties >
6869
6970 <dependencyManagement >
You can’t perform that action at this time.
0 commit comments