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 780cb190..fcaa0705 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -373,6 +373,16 @@ RUN export LATEST="$(curl -s https://checkpoint-api.hashicorp.com/v1/check/packe
curl -K- | gzip -d > /usr/bin/packer && \
chmod +x /usr/bin/packer
+#
+# 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