The chmod in the docker builder for my local VM does not appear to
support the "+x" style options. Modified the api docker
file to use "755" instead.
Change-Id: Idf376d0d4e2a44ee5a605b473b0307d8770b4ced
Issue-ID: POLICY-1829
Signed-off-by: Jim Hahn <jrh3@att.com>
WORKDIR ${POLICY_API_HOME}
COPY policy-api.sh bin/.
WORKDIR ${POLICY_API_HOME}
COPY policy-api.sh bin/.
-RUN chown -R policy:policy * && chmod +x bin/*.sh && \
+RUN chown -R policy:policy * && chmod 755 bin/*.sh && \
cp ${POLICY_API_HOME}/etc/ssl/* ${POLICY_HOME}/etc/ssl && chown policy:policy ${POLICY_HOME}/etc/ssl/*
USER policy
cp ${POLICY_API_HOME}/etc/ssl/* ${POLICY_HOME}/etc/ssl && chown policy:policy ${POLICY_HOME}/etc/ssl/*
USER policy