aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2021-01-07 14:18:58 -0500
committerTaka Cho <takamune.cho@att.com>2021-01-07 14:20:38 -0500
commit679d7888087fb3a3ff079de26695d7208ab755df (patch)
tree5daebf2fb30c1c4d8912739b9075b0a091c60d06 /packages
parenta4e03e4efd11858f4ea69ea97c4c273e0792daa4 (diff)
drools-pdp docker build fail
after official jre 2.2.0 released there is no /root/.cache exist based on jenkins build Issue-ID: POLICY-2999 Change-Id: I6c7db9dce3269bdcd26016d4049364bc72310dac Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'packages')
-rw-r--r--packages/docker/src/main/docker/Dockerfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/docker/src/main/docker/Dockerfile b/packages/docker/src/main/docker/Dockerfile
index 2c3c3aa2..195780c9 100644
--- a/packages/docker/src/main/docker/Dockerfile
+++ b/packages/docker/src/main/docker/Dockerfile
@@ -50,8 +50,7 @@ RUN apk update && \
&& update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 \
&& pip install --no-cache-dir --upgrade setuptools http-prompt \
&& pip uninstall -y httpie \
- && pip install --no-cache-dir httpie==1.0.3 \
- && rm -r /root/.cache
+ && pip install --no-cache-dir httpie==1.0.3
RUN mkdir -p $POLICY_CONFIG $POLICY_LOGS $POLICY_INSTALL_INIT && \
chown -R policy:policy $POLICY_HOME $POLICY_LOGS $POLICY_INSTALL