From 4d5220230a9c7a5880e79beff8fa253b9bb2a0ab Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Wed, 14 Oct 2020 15:34:29 +0800 Subject: [PATCH] Fixed UID to work with synology --- Dockerfile | 4 ++-- Jenkinsfile | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ab8cf99..413c33d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,8 @@ ENV LANG='en_US.UTF-8' \ BUILD_DATE='27-07-2020' \ TERM='xterm' \ WATCHER_USER=watcher \ - WATCHER_UID=1003 \ - WATCHER_GID=1003 + WATCHER_UID=1027 \ + WATCHER_GID=1027 RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \ apk update && \ diff --git a/Jenkinsfile b/Jenkinsfile index eddc5cf..22803ce 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -30,6 +30,9 @@ spec: sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/library/x86_64/alpine/watcher:3.10.5 --destination=harbor.ervine.dev/library/x86_64/alpine/watcher:3.10 --destination=harbor.ervine.dev/public/x86_64/alpine/watcher:v3.10.5 --destination=harbor.ervine.dev/public/x86_64/alpine/watcher:v3.10' } } + stage('Notify gchat') { + hangoutsNotify message: "Watcher 3 on Alpine has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false + } } }