Skip to content

Commit a57c2af

Browse files
authored
Merge pull request #1601 from oracle-devrel/oci-devops-fix-native
Oci devops fix native
2 parents 1b09a5a + a61a655 commit a57c2af

File tree

1 file changed

+0
-9
lines changed
  • app-dev/devops-and-containers/devops/oci-devops-terraform-function-java-graalvm/files/build_pipeline_specs

1 file changed

+0
-9
lines changed

app-dev/devops-and-containers/devops/oci-devops-terraform-function-java-graalvm/files/build_pipeline_specs/build_spec_native.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,6 @@ steps:
1212
echo "Build ID: $buildId"
1313
- type: Command
1414
command: |
15-
# This replaces the default open-jdk
16-
export GRAALVM_VERSION="21"
17-
export JAVA_VERSION="17"
18-
yum -y install graalvm${GRAALVM_VERSION}-ee-${JAVA_VERSION}-jdk;
19-
export JAVA_HOME=/usr/lib64/graalvm/graalvm${GRAALVM_VERSION}-ee-java${JAVA_VERSION};
20-
java -version
21-
22-
mvn clean install
23-
2415
docker build -f Dockerfile.native -t ${REGISTRY}/${NAMESPACE}/${IMAGE_NAME} .
2516
docker tag ${REGISTRY}/${NAMESPACE}/${IMAGE_NAME}:latest ${REGISTRY}/${NAMESPACE}/${IMAGE_NAME}:$buildId
2617
outputArtifacts:

0 commit comments

Comments
 (0)