You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LABEL description="An image that can be used as an init container to fetch artifacts for runner containers from S3" Vendor="Agile Digital" Version="1.1.0"
ENV RUNNER_USER runner
ENV HOME /home/${RUNNER_USER}
ENV ARTIFACT_DIR $HOME/artifacts
RUN yum install shadow-utils tar gzip -y
RUN adduser -r -u 10000 -d "${HOME}" "${RUNNER_USER}"
WORKDIR $HOME
COPY app "${HOME}/app"
RUN chmod +x "${HOME}/app/run.sh"
RUN chmod g+w /etc/passwd
RUN chgrp -R root "${HOME}" && chmod -R g+w "${HOME}"