From a338a542bf5fd9140524c0cea00a4f680e009134 Mon Sep 17 00:00:00 2001 From: jonny Date: Thu, 15 Apr 2021 08:44:20 +0000 Subject: [PATCH] 'update files with ansible' --- Dockerfile | 2 +- Jenkinsfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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') {