From 27afb0201ce717c25d8ffcc50f8b4972fc98f5c5 Mon Sep 17 00:00:00 2001 From: Instrumental Date: Thu, 7 Feb 2019 16:36:56 -0600 Subject: Refine properties for non-root Issue-ID: AAF-698 Change-Id: I266f0e36842fb506dbb3e412e12eedf64e24418a Signed-off-by: Instrumental --- auth/auth-cass/docker/Dockerfile.cass | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'auth/auth-cass/docker/Dockerfile.cass') 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 -- cgit 1.2.3-korg