Explicitly specify user root during argocd image build (#1749)

This commit is contained in:
Alexander Matyushentsev 2019-06-14 15:50:43 -07:00 committed by GitHub
parent 4927943595
commit ff00be9a7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -96,6 +96,8 @@ RUN cd ${GOPATH}/src/dummy && \
####################################################################################################
FROM $BASE_IMAGE as argocd-base
USER root
RUN groupadd -g 999 argocd && \
useradd -r -u 999 -g argocd argocd && \
mkdir -p /home/argocd && \

View file

@ -27,7 +27,7 @@
"@types/react-router": "^4.0.27",
"@types/react-router-dom": "^4.2.3",
"@types/superagent": "^3.5.7",
"argo-ui": "git://github.com/argoproj/argo-ui.git",
"argo-ui": "https://github.com/argoproj/argo-ui.git",
"awesome-typescript-loader": "^5.2.1",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.3",

View file

@ -826,9 +826,9 @@ are-we-there-yet@~1.1.2:
delegates "^1.0.0"
readable-stream "^2.0.6"
"argo-ui@git://github.com/argoproj/argo-ui.git":
"argo-ui@https://github.com/argoproj/argo-ui.git":
version "1.0.0"
resolved "git://github.com/argoproj/argo-ui.git#20bf3cbe3db2c60f5882bd95c153c538e39a0b7b"
resolved "https://github.com/argoproj/argo-ui.git#20bf3cbe3db2c60f5882bd95c153c538e39a0b7b"
dependencies:
"@fortawesome/fontawesome-free" "^5.8.1"
"@tippy.js/react" "^2.1.2"