Code Review
/
aai
/
esr-gui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
678249c
)
update esr-gui Dockerfile
44/106944/2
1.5.1
author
LaMont, William(wl2432)
<wl2432@att.com>
Thu, 30 Apr 2020 18:02:53 +0000
(14:02 -0400)
committer
James Forsyth
<jf2512@att.com>
Thu, 30 Apr 2020 18:07:42 +0000
(18:07 +0000)
Issue-ID: AAI-2896
Change-Id: If1015674635f5f73d28b83702a797e56ae91befa
Signed-off-by: LaMont, William(wl2432) <wl2432@att.com>
distribution/src/main/assembly/Dockerfile
patch
|
blob
|
history
diff --git
a/distribution/src/main/assembly/Dockerfile
b/distribution/src/main/assembly/Dockerfile
index
aade40d
..
703a7d0
100644
(file)
--- a/
distribution/src/main/assembly/Dockerfile
+++ b/
distribution/src/main/assembly/Dockerfile
@@
-18,10
+18,11
@@
ENV JRE_HOME ${JAVA_HOME}/jre
#add esr gui related resources to the docker image
RUN mkdir /home/esr
-RUN
addgroup -S esr && adduser -S -G
esr esr
+RUN
groupadd -r esr && useradd -r -g
esr esr
WORKDIR /home/esr
ADD esr-gui-*-linux64.tar.gz /home/esr/
RUN chmod 755 /home/esr/*.sh
+RUN chown -R esr:esr /home/esr
USER esr
ENTRYPOINT /home/esr/startup.sh