Changed ADD to COPY for run.sh and added USER hdoop command in resourcemanager dir.
This commit is contained in:
parent
0005af864c
commit
e75cb9e17e
@ -2,9 +2,11 @@ FROM cc/base:1.0
|
||||
|
||||
HEALTHCHECK CMD curl -f http://localhost:8088/ || exit 1
|
||||
|
||||
ADD run.sh /run.sh
|
||||
COPY --chown=hdoop:hdoop run.sh /run.sh
|
||||
RUN chmod a+x /run.sh
|
||||
|
||||
EXPOSE 8088
|
||||
|
||||
USER hdoop
|
||||
|
||||
CMD ["/run.sh"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user