Skip to content

Commit

Permalink
Merge pull request #104 from IPHUN1989/103-replacing-maven-image
Browse files Browse the repository at this point in the history
103 replacing maven image
  • Loading branch information
IPHUN1989 authored Jun 23, 2024
2 parents 9d328b0 + 9124f0d commit f1836f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build
FROM maven@sha256:7106ce47b5c226ee21bac386cb706ff9f3db7ac2f15e251e3aa491fcbfc30028 AS build
FROM maven:3.9.7-eclipse-temurin-17-alpine@sha256:f497ab78d9245d5854e5603c812ea9abece1d1dcd466c478fd6016b433567196 AS build
WORKDIR /app
COPY pom.xml ./.
RUN mvn dependency:go-offline dependency:resolve-plugins
Expand Down
2 changes: 1 addition & 1 deletion backend/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pipeline {
agent {
docker {
image 'maven@sha256:7106ce47b5c226ee21bac386cb706ff9f3db7ac2f15e251e3aa491fcbfc30028'
image 'maven:3.9.7-amazoncorretto-17-debian@sha256:ec1b0fcd25192efc5686fd460b4fe95439533eafafe841a81150472203118421'
args '-u root --privileged --net="jenkins" -v $HOME/.m2:/root/.m2'
}
}
Expand Down

0 comments on commit f1836f5

Please sign in to comment.