#26 Reenabled buildkit
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
FROM eclipse-temurin:25-jre-alpine
|
||||
|
||||
# Create a non-root user for security
|
||||
RUN addgroup -S spring && adduser -S spring -G spring
|
||||
USER spring:spring
|
||||
|
||||
ARG JAR_FILE
|
||||
|
||||
COPY ${JAR_FILE} app.jar
|
||||
|
||||
2
build/Jenkinsfile
vendored
2
build/Jenkinsfile
vendored
@@ -61,7 +61,6 @@ pipeline {
|
||||
|
||||
stage('Docker Build & Push') {
|
||||
steps {
|
||||
withEnv(['DOCKER_BUILDKIT=0']) {
|
||||
script {
|
||||
def jarPath = sh(script: "ls target/checkout/web-container/target/*.jar | head -n 1", returnStdout: true).trim()
|
||||
def releaseVer = sh(script: "pkgx mvn help:evaluate -Dexpression=project.version -q -DforceStdout -f target/checkout/web-container/pom.xml", returnStdout: true).trim()
|
||||
@@ -84,5 +83,4 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user