summaryrefslogtreecommitdiffstats
path: root/auth/auth-cass/docker/Dockerfile.cass
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2019-02-07 16:36:56 -0600
committerInstrumental <jonathan.gathman@att.com>2019-02-07 16:37:00 -0600
commit27afb0201ce717c25d8ffcc50f8b4972fc98f5c5 (patch)
treefcc70c64abc1b5741f92b65b354ea009f5fc4175 /auth/auth-cass/docker/Dockerfile.cass
parente2fa0e67712b92c69f6863afe10c1c973a068e3e (diff)
Refine properties for non-root
Issue-ID: AAF-698 Change-Id: I266f0e36842fb506dbb3e412e12eedf64e24418a Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/auth-cass/docker/Dockerfile.cass')
-rw-r--r--auth/auth-cass/docker/Dockerfile.cass5
1 files changed, 5 insertions, 0 deletions
diff --git a/auth/auth-cass/docker/Dockerfile.cass b/auth/auth-cass/docker/Dockerfile.cass
index e79b33fc..aa6a9efb 100644
--- a/auth/auth-cass/docker/Dockerfile.cass
+++ b/auth/auth-cass/docker/Dockerfile.cass
@@ -30,6 +30,11 @@ COPY cass_init/*.props /opt/app/aaf/cass_init/
COPY aaf-auth-batch-${AAF_VERSION}-full.jar /opt/app/aaf/cass_init/
COPY cass_data/*.dat /opt/app/aaf/cass_init/dats/
+RUN mkdir -p /opt/app/aaf/status && chmod 777 /opt/app/aaf/status
+#RUN addgroup ${USER} && adduser --no-create-home --ingroup ${USER} --disabled-password --gecos "" --shell /bin/bash ${USER}
+#RUN chown -R ${USER}:${USER} /opt/app/aaf/cass_init
+
+
ENTRYPOINT ["/bin/bash","/opt/app/aaf/cass_init/cmd.sh"]
CMD ["start"]
# Default is to start up with CQL setup only