builer-netstandard: cleaned up dockerfile
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/f94cef1c Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/f94cef1c Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/f94cef1c Branch: refs/heads/feature/cd-pipeline Commit: f94cef1c6d0b1c71810323d422d987e7b15beaf3 Parents: 9c3fecf Author: Dominik Psenner <dpsen...@apache.org> Authored: Sat Jul 8 22:46:01 2017 +0200 Committer: Dominik Psenner <dpsen...@apache.org> Committed: Sat Jul 8 22:46:01 2017 +0200 ---------------------------------------------------------------------- buildtools/docker/builder-netstandard/Dockerfile | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/f94cef1c/buildtools/docker/builder-netstandard/Dockerfile ---------------------------------------------------------------------- diff --git a/buildtools/docker/builder-netstandard/Dockerfile b/buildtools/docker/builder-netstandard/Dockerfile index 9f1578b..169b328 100644 --- a/buildtools/docker/builder-netstandard/Dockerfile +++ b/buildtools/docker/builder-netstandard/Dockerfile @@ -7,22 +7,6 @@ MAINTAINER "d...@logging.apache.org" # install dependencies RUN apt-get update && apt-get install -y nant git -# install gosu -# entrypoint.sh requires this tool -#RUN apt-get update && apt-get -y --no-install-recommends install \ -# ca-certificates \ -# curl -#RUN curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.4/gosu-$(dpkg --print-architecture)" \ -# && curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.4/gosu-$(dpkg --print-architecture).asc" \ -# && gpg --verify /usr/local/bin/gosu.asc \ -# && rm /usr/local/bin/gosu.asc \ -# && chmod +x /usr/local/bin/gosu -#RUN curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.4/gosu-$(dpkg --print-architecture)" \ -# && chmod +x /usr/local/bin/gosu - -# set up an entry point for the image that allows customization -# before anything else is run on the container -# COPY "useradd-jenkins.sh" /usr/local/bin/useradd-jenkins.sh -#RUN /usr/local/bin/useradd-jenkins.sh +# add user jenkins, otherwise dotnet will not be able to find a place to cache artifacts RUN groupadd -r -g 12040 jenkins-slave RUN useradd --home-dir /home/jenkins --shell /bin/bash --uid 10025 --gid 12040 --groups 12040 -p -M jenkins