Code Review
/
ccsdk
/
distribution.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
remove LCM in ansibleSysCall
[ccsdk/distribution.git]
/
ansible-server
/
src
/
main
/
Dockerfile
diff --git
a/ansible-server/src/main/Dockerfile
b/ansible-server/src/main/Dockerfile
index
7ad66d3
..
d44f5c3
100644
(file)
--- a/
ansible-server/src/main/Dockerfile
+++ b/
ansible-server/src/main/Dockerfile
@@
-10,6
+10,7
@@
COPY ansible-server/requirements.txt ansible-server/requirements.txt
RUN apk add --no-cache curl \
bash \
py2-pip \
RUN apk add --no-cache curl \
bash \
py2-pip \
+ openssh-client \
python2 &&\
apk add --no-cache --virtual .build-deps build-base \
libffi-dev \
python2 &&\
apk add --no-cache --virtual .build-deps build-base \
libffi-dev \
@@
-28,7
+29,8
@@
WORKDIR /opt/ansible-server
RUN mkdir /opt/onap ; ln -s /opt/ansible-server /opt/onap/ccsdk
RUN echo > /var/log/ansible-server.log
RUN mkdir /opt/onap ; ln -s /opt/ansible-server /opt/onap/ccsdk
RUN echo > /var/log/ansible-server.log
-RUN chown ansible:ansible /var/log/ansible-server.log
+RUN chown -R ansible:ansible /var/log
+RUN chown ansible:ansible /opt/ansible-server
USER ansible:ansible
USER ansible:ansible