added some tools for CI, use unprivileged user
authorvarac <varacanero@zeromail.org>
Sat, 15 Oct 2016 21:20:24 +0000 (23:20 +0200)
committervarac <varacanero@zeromail.org>
Sat, 15 Oct 2016 21:20:24 +0000 (23:20 +0200)
docker/ruby/Dockerfile

index 0dc8645..7403ac8 100644 (file)
@@ -15,13 +15,16 @@ RUN apt-get update \
     rake \
     gcc \
     make \
-    sudo \
     zlib1g-dev \
     moreutils \
     tcl \
     expect \
+    jq \
+    netcat \
   && apt-get clean \
   && rm -rf /var/lib/apt/lists/*
 
 RUN echo '---\n:sources:\n  - https://rubygems.org/\ninstall: --no-document\nupdate: --no-document\n' > /etc/gemrc
 RUN gem install bundler
+
+USER cirunner