Public | Automated Build

Last pushed: 8 months ago
FROM staker4/sphinx-autobuild MAINTAINER Raymond Tiefengraber # Install apt packages RUN apt-get update \ && apt-get -y install \ openjdk-8-jre-headless \ git \ subversion \ # Clean downloaded apt packages after install && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* WORKDIR / # Ensure that the container logs on stdout ADD /var/lib/go-agent/ ADD /var/lib/go-agent/ # Add go user RUN adduser -home /go --system --disabled-password go ADD /go/go-agent RUN chmod 755 /go/go-agent ADD /tini RUN chmod +x /tini # Set runtime entrypoint to execute go-agent ENTRYPOINT ["/tini", "--"] USER go CMD /go/go-agent