diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2019-03-15 13:33:05 -0500 |
---|---|---|
committer | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2019-03-15 13:33:05 -0500 |
commit | 01727c0ca25fbc04becefacadc38eeb15014d5e9 (patch) | |
tree | f6bb348f4c3df00ff66f3ca919b0abb52a9275b5 | |
parent | d9bea3226dbb70a8fbc6da5e5ab1b099275499da (diff) |
Add alpine packages for better diagnostics
Change-Id: I96e30e2ffb7dc35ffc1e377c1021ee871ab5a310
Issue-ID: POLICY-1560
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
-rw-r--r-- | packages/docker/src/main/docker/Dockerfile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/packages/docker/src/main/docker/Dockerfile b/packages/docker/src/main/docker/Dockerfile index 587e7845..aaae2826 100644 --- a/packages/docker/src/main/docker/Dockerfile +++ b/packages/docker/src/main/docker/Dockerfile @@ -16,16 +16,19 @@ ENV POLICY_CONFIG ${POLICY_HOME}/config ENV POLICY_LOGBACK ${POLICY_CONFIG}/logback.xml ENV POLICY_DOCKER true -RUN apk --update add --no-cache busybox-extras \ - bash coreutils grep findutils \ - zip unzip curl \ - wget openssh maven jq \ - httpie py-pip openjdk8 +RUN apk update && \ + apk add --update --no-cache busybox-extras \ + bash bash-completion procps \ + coreutils less grep findutils \ + zip unzip file \ + openssl openssh \ + python py-pip openjdk8 maven \ + curl wget httpie jq RUN addgroup -S policy && adduser -S policy -s /bin/bash # install MariaDB client -RUN apk --update add --no-cache mariadb-client +RUN apk add --update --no-cache mariadb-client && rm -rf /var/cache/apk/* RUN pip install http-prompt RUN mkdir -p ${POLICY_HOME}/config ${POLICY_LOGS} ${POLICY_INSTALL_INIT} && \ |