diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-09-01 22:38:56 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-09-02 20:59:11 +0200 |
commit | b32a80c891ca7fe3fbe361a6c7ba5066ac9caff5 (patch) | |
tree | 879168846c9359b9a18a032a32fab1afa6c6b306 /docker | |
parent | 40a4ea7ad2a16d83cbe54aceab472d4370378916 (diff) | |
download | vyos-build-b32a80c891ca7fe3fbe361a6c7ba5066ac9caff5.tar.gz vyos-build-b32a80c891ca7fe3fbe361a6c7ba5066ac9caff5.zip |
Docker: add fpm to build container
(cherry picked from commit 221fd1538303071a092b72a04fae87e2b12abfed)
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 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 |