Commit 037e619e authored by MANISH KUMAR's avatar MANISH KUMAR
Browse files

Using Custome JDK image to build pipelines

parent ae394c2b
Pipeline #25090 passed with stage
in 16 seconds
......@@ -139,11 +139,10 @@ azure_containerize:
script:
# Dockerfile
- |
echo 'FROM openjdk:8-jdk-alpine
VOLUME /tmp
echo 'FROM msosdu.azurecr.io/azure-osdu-openjdk:0.0.1
WORKDIR /deployments
ARG JAR_FILE
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]' > Dockerfile
COPY ${JAR_FILE} app.jar' > Dockerfile
- |
if [ "$AZURE_SERVICE" == "entitlements" ]; then
TARGET=$(find ./$AZURE_BUILD_SUBDIR/target -name '*.jar' |head -n 1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment