diff --git a/Dockerfile b/Dockerfile index a6fbb09..0fba7b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Base on latest (edge) alpine image FROM node:current-alpine as builder -RUN apk add -U git build-base python3 build-base python3 && \ +RUN apk add -U git build-base python3 && \ git clone https://github.com/butlerx/wetty --branch main /usr/src/app WORKDIR /usr/src/app COPY . /usr/src/app diff --git a/Jenkinsfile b/Jenkinsfile index 8fb8c3e..7d219e4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,7 +27,7 @@ spec: stage('Build with Kaniko') { git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-wetty.git', credentialsId: 'jenkins-to-git' container('kaniko') { - sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine/wetty:2.0.3' + sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/wetty:2.0.3' } } stage('Notify gchat') {