diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-09-01 22:38:56 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-09-01 22:38:56 +0200 |
commit | 221fd1538303071a092b72a04fae87e2b12abfed (patch) | |
tree | 6bf116476de575be1b5e5ce157c827163dd624bb /docker | |
parent | 7880ac381c6ef4f84bbca48d537b70b2d2c8b85e (diff) | |
download | vyos-build-221fd1538303071a092b72a04fae87e2b12abfed.tar.gz vyos-build-221fd1538303071a092b72a04fae87e2b12abfed.zip |
Docker: add fpm to build container
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 10 |
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 |