Bump Dockerfile for JDK build.

See #93
This commit is contained in:
Mark Paluch
2024-08-14 14:18:39 +02:00
parent 294187e476
commit 2f562ad66e
2 changed files with 5 additions and 4 deletions

8
Jenkinsfile vendored
View File

@@ -21,8 +21,8 @@ pipeline {
stage('Build the Spring Data release tools container') {
when {
anyOf {
changeset 'ci/Dockerfile'
changeset 'ci/java-tools.properties'
changeset 'ci/Dockerfile'
changeset 'ci/java-tools.properties'
}
}
agent {
@@ -31,7 +31,7 @@ pipeline {
steps {
script {
def image = docker.build("springci/spring-data-release-tools:0.15", "ci")
def image = docker.build("springci/spring-data-release-tools:0.16", "ci")
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
image.push()
}
@@ -45,7 +45,7 @@ pipeline {
}
agent {
docker {
image 'springci/spring-data-release-tools:0.15'
image 'springci/spring-data-release-tools:0.16'
}
}
options { timeout(time: 4, unit: 'HOURS') }

View File

@@ -7,6 +7,7 @@ ARG USER_UID="1001"
ARG USER_GID="1001"
ARG USER_NAME="jenkins"
RUN groupadd -g $USER_GID $USER_NAME && \
useradd -m -g $USER_GID -u $USER_UID $USER_NAME