chore: changed agent base image to own alpine-base
Gitea/docker-base-images/jdk14-alpine/pipeline/head This commit looks good
Details
Gitea/docker-base-images/jdk14-alpine/pipeline/head This commit looks good
Details
parent
6a665ddc9c
commit
d1489e801f
|
@ -44,5 +44,3 @@ RUN set -o errexit -o nounset && echo "Installing build dependencies" && \
|
|||
echo "Editing startGroovy to include java.xml.bind module" && \
|
||||
sed --in-place 's|startGroovy ( ) {|startGroovy ( ) {\n JAVA_OPTS="$JAVA_OPTS --add-modules=ALL-SYSTEM"|' "${GROOVY_HOME}/bin/startGroovy"
|
||||
|
||||
RUN apk --no-cache add openssh
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ def resolveImageName(env) {
|
|||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image 'alpine:3.17.3'
|
||||
image 'git.tswf.io/docker-base-images/alpine-base:1.0.0-3.17.3'
|
||||
// Mount docker socket for docker-in-docker
|
||||
args '-v /var/run/docker.sock:/var/run/docker.sock'
|
||||
}
|
||||
|
@ -17,7 +17,6 @@ pipeline {
|
|||
stages {
|
||||
stage('prepare') {
|
||||
steps {
|
||||
sh "apk update && apk add --no-cache git docker-cli"
|
||||
script {
|
||||
env.IMAGE_BASE_NAME = "jdk14-alpine"
|
||||
env.RELEASE_TAG_PREFIX = "release-"
|
||||
|
|
Loading…
Reference in New Issue