summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index d5f1543a..647725a9 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -450,6 +450,16 @@ RUN wget https://salsa.debian.org/klausenbusk-guest/debootstrap/commit/a9a603b17
dpkg-buildpackage -us -uc && \
sudo dpkg -i ../debootstrap*.deb
+#
+# fpm: a command-line program designed to help you build packages (e.g. deb)
+#
+RUN apt-get update && apt-get install -y \
+ ruby \
+ ruby-dev \
+ rubygems \
+ build-essential
+RUN gem install --no-document fpm
+
# Allow password-less 'sudo' for all users in group 'sudo'
RUN sed "s/^%sudo.*/%sudo\tALL=(ALL) NOPASSWD:ALL/g" -i /etc/sudoers && \
chmod a+s /usr/sbin/useradd /usr/sbin/groupadd /usr/sbin/gosu /usr/sbin/usermod