Skip to content
Snippets Groups Projects
Commit 85a98e8f authored by Noah Hilverling's avatar Noah Hilverling
Browse files

Add go binary path to path

parent 6acc7215
No related branches found
No related tags found
No related merge requests found
Pipeline #7372 passed
......@@ -26,7 +26,8 @@ RUN groupadd -g 1000 build \
&& useradd -u 1000 -g 1000 -m build \
&& echo 'Defaults:build !requiretty' | tee -a /etc/sudoers \
&& echo 'build ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers \
&& chown build.build /usr/local/bin
&& chown build.build /usr/local/bin \
&& echo 'PATH=$PATH:/usr/lib/go-1.11/bin' >> /etc/profile
USER build
RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment