File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,7 @@ COPY [ "splunk/common-files/updateetc.sh", "/sbin/" ]
5555
5656# Setup users and groups
5757RUN groupadd -r -g ${GID} ${SPLUNK_GROUP} \
58- && useradd -r -m -u ${UID} -g ${GID} -s /sbin/nologin -d ${SPLUNK_HOME} ${SPLUNK_USER} \
59- && chown -R splunk.splunk ${SPLUNK_HOME} \
58+ && useradd -r -m -u ${UID} -g ${GID} ${SPLUNK_USER} \
6059 && chmod 755 /sbin/updateetc.sh
6160
6261COPY --from=package --chown=splunk:splunk /minimal /opt
@@ -106,6 +105,7 @@ RUN sed -i -e 's/%sudo\s\+ALL=(ALL\(:ALL\)\?)\s\+ALL/%sudo ALL=NOPASSWD:ALL/g' /
106105 && mkdir ${CONTAINER_ARTIFACT_DIR} \
107106 && chown -R ${ANSIBLE_USER}:${ANSIBLE_GROUP} $CONTAINER_ARTIFACT_DIR \
108107 && chmod -R 555 ${SPLUNK_ANSIBLE_HOME} \
108+ && chmod -R 777 ${CONTAINER_ARTIFACT_DIR} \
109109 && chmod 755 /sbin/entrypoint.sh /sbin/createdefaults.py /sbin/checkstate.sh
110110
111111USER ${ANSIBLE_USER}
You can’t perform that action at this time.
0 commit comments