Dockerfile in yopass-2.1.1 vs Dockerfile in yopass-2.2.0
- old
+ new
@@ -1,9 +1,10 @@
FROM ubuntu
MAINTAINER Johan Haals <johan.haals@gmail.com>
RUN apt-get update
-RUN apt-get install -y git libsasl2-dev build-essential ruby ruby-dev memcached
+RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d
+RUN DEBIAN_FRONTEND=noninteractive apt-get install -y git libsasl2-dev build-essential ruby ruby-dev memcached
RUN gem install foreman --no-rdoc --no-ri
RUN gem install bundler --no-rdoc --no-ri
RUN gem install god --no-rdoc --no-ri