Skip to content

Commit dc7d321

Browse files
authored
Merge pull request #236 from splunk/bugfix/build-warnings
Bugfix/build warnings
2 parents 9427746 + 2b16709 commit dc7d321

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

splunk/common-files/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ COPY splunk-ansible ${SPLUNK_ANSIBLE_HOME}
9797
# Set sudo rights
9898
RUN sed -i -e 's/%sudo\s\+ALL=(ALL\(:ALL\)\?)\s\+ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers \
9999
&& sudo echo -e '\nansible ALL=(splunk)NOPASSWD:ALL' >> /etc/sudoers \
100-
# Create the ansible user/group
100+
&& echo 'Create the ansible user/group' \
101101
&& groupadd -r ${ANSIBLE_GROUP} \
102102
&& useradd -r -m -g ${ANSIBLE_GROUP} ${ANSIBLE_USER} \
103103
&& usermod -aG sudo ${ANSIBLE_USER} \
104104
&& usermod -aG ${ANSIBLE_GROUP} ${SPLUNK_USER} \
105-
# Container Artifact Directory is a place for all artifacts and logs that are generated by the provisioning process. The directory is owned by the user "ansible".
105+
&& echo 'Container Artifact Directory is a place for all artifacts and logs that are generated by the provisioning process. The directory is owned by the user "ansible".' \
106106
&& mkdir ${CONTAINER_ARTIFACT_DIR} \
107107
&& chown -R ${ANSIBLE_USER}:${ANSIBLE_GROUP} ${CONTAINER_ARTIFACT_DIR} \
108108
&& chmod -R 775 ${CONTAINER_ARTIFACT_DIR} \

0 commit comments

Comments
 (0)