Fixed UID to work with synology

This commit is contained in:
Jonathan Ervine 2020-10-14 15:34:29 +08:00
parent 864ebf5576
commit 4d5220230a
2 changed files with 5 additions and 2 deletions

View File

@ -10,8 +10,8 @@ ENV LANG='en_US.UTF-8' \
BUILD_DATE='27-07-2020' \ BUILD_DATE='27-07-2020' \
TERM='xterm' \ TERM='xterm' \
WATCHER_USER=watcher \ WATCHER_USER=watcher \
WATCHER_UID=1003 \ WATCHER_UID=1027 \
WATCHER_GID=1003 WATCHER_GID=1027
RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \ RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \
apk update && \ apk update && \

3
Jenkinsfile vendored
View File

@ -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' 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
}
} }
} }