These are companion changes to
https://gerrit.onap.org/r/#/c/policy/docker/+/101758/.
to keep them consistent. In a nutshell, directory layout
under POLICY_HOME should be done by individual components,
as well as python installation.
Issue-ID: POLICY-2181
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ie0a538ad7b9b245d43e707cf92303829f0dae2ff
RUN apt-get -y update \
&& apt-get -y install \
curl \
- httpie \
jq \
less \
- python \
- python-pip \
ssh \
unzip \
vim \
&& mkdir /usr/lib/jvm \
&& ln -s /usr/local/openjdk-11 /usr/lib/jvm/java-11-openjdk \
&& adduser --shell /bin/bash --disabled-password policy \
- && mkdir -p ${POLICY_HOME}/etc/ssl \
- && chown -R policy:policy ${POLICY_HOME}
+ && mkdir -p ${POLICY_HOME}/ \
+ && chown policy:policy ${POLICY_HOME}