Repository: logging-log4net Updated Branches: refs/heads/feature/cd-pipeline d0ced2cb6 -> de86adf0a
builder-netstandard: attempt to set up user jenkins Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/de86adf0 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/de86adf0 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/de86adf0 Branch: refs/heads/feature/cd-pipeline Commit: de86adf0ac087b4e8bbf033ccab0dfb0f912c332 Parents: d0ced2c Author: Dominik Psenner <dpsen...@apache.org> Authored: Sat Jul 8 20:25:41 2017 +0200 Committer: Dominik Psenner <dpsen...@apache.org> Committed: Sat Jul 8 20:25:41 2017 +0200 ---------------------------------------------------------------------- buildtools/docker/builder-netstandard/Dockerfile | 4 ++-- buildtools/docker/builder-netstandard/entrypoint.sh | 5 ----- buildtools/docker/builder-netstandard/useradd-jenkins.sh | 5 +++++ 3 files changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/de86adf0/buildtools/docker/builder-netstandard/Dockerfile ---------------------------------------------------------------------- diff --git a/buildtools/docker/builder-netstandard/Dockerfile b/buildtools/docker/builder-netstandard/Dockerfile index c5a8f4b..c769404 100644 --- a/buildtools/docker/builder-netstandard/Dockerfile +++ b/buildtools/docker/builder-netstandard/Dockerfile @@ -22,5 +22,5 @@ RUN apt-get update && apt-get install -y nant git # set up an entry point for the image that allows customization # before anything else is run on the container -RUN bash -c entrypoint.sh -#ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] +COPY "useradd-jenkins.sh" /usr/local/bin/useradd-jenkins.sh +RUN /usr/local/bin/useradd-jenkins.sh http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/de86adf0/buildtools/docker/builder-netstandard/entrypoint.sh ---------------------------------------------------------------------- diff --git a/buildtools/docker/builder-netstandard/entrypoint.sh b/buildtools/docker/builder-netstandard/entrypoint.sh deleted file mode 100755 index e89caf7..0000000 --- a/buildtools/docker/builder-netstandard/entrypoint.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -USER="jenkins" -HOME="/home/jenkins" -groupadd --gid `id -g` $USER -useradd --home-dir "$HOME" --shell /bin/bash --uid `id -u` --gid `id -g` --groups `id -g` -p -M "$USER" http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/de86adf0/buildtools/docker/builder-netstandard/useradd-jenkins.sh ---------------------------------------------------------------------- diff --git a/buildtools/docker/builder-netstandard/useradd-jenkins.sh b/buildtools/docker/builder-netstandard/useradd-jenkins.sh new file mode 100755 index 0000000..e89caf7 --- /dev/null +++ b/buildtools/docker/builder-netstandard/useradd-jenkins.sh @@ -0,0 +1,5 @@ +#!/bin/bash +USER="jenkins" +HOME="/home/jenkins" +groupadd --gid `id -g` $USER +useradd --home-dir "$HOME" --shell /bin/bash --uid `id -u` --gid `id -g` --groups `id -g` -p -M "$USER"