Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs committed Feb 23, 2022
1 parent 53b6729 commit 6325dfc
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ VOLUME "${AGENT_WORKDIR}"

WORKDIR "${HOME}"

# assure jenkins-agent directories
RUN mkdir -p "${AGENT_WORKDIR}"; \
RUN \
# assure jenkins-agent directories \
mkdir -p "${AGENT_WORKDIR}"; \
## apt \
${SUDO_APT_GET} update; \
# upgrade system \
Expand Down Expand Up @@ -200,7 +201,11 @@ RUN mkdir -p "${AGENT_WORKDIR}"; \
sudo ${CURL} -o /usr/local/bin/hadolint "https://github.com/hadolint/hadolint/releases/download/${version}/hadolint-Linux-x86_64"; \
sudo chmod +x /usr/local/bin/hadolint; \
# install helm 3 \
${CURL} https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | sudo -E bash -; \
${CURL} https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | sudo -E bash -

COPY rootfs/ /

RUN \
# install s6-overlay \
${CURL} -o /tmp/s6-overlay-installer https://github.com/just-containers/s6-overlay/releases/download/v2.2.0.1/s6-overlay-amd64-installer; \
chmod +x /tmp/s6-overlay-installer; \
Expand All @@ -212,7 +217,5 @@ RUN mkdir -p "${AGENT_WORKDIR}"; \
sudo chmod 4755 /_entrypoint; \
sudo rm -f /_entrypoint.sh

COPY rootfs/ /

ENTRYPOINT [ "/entrypoint.sh" ]
CMD [ "/jenkins_agent.sh" ]

0 comments on commit 6325dfc

Please sign in to comment.