Michael Grote
457be19f58
root@irantu:~# gem install --no-rdoc fpm ERROR: While executing gem ... (Gem::OptionParser::InvalidOption) invalid option: --no-rdoc
25 lines
648 B
Docker
25 lines
648 B
Docker
############################################################
|
|
# Dockerfile to build fpm-build images
|
|
# fpm can be used to build .rpm or .deb packages
|
|
# Based on Debian
|
|
# See: https://fpm.readthedocs.io
|
|
############################################################
|
|
FROM debian:buster-slim
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ENV http_proxy=http://acng.grote.lan:9999
|
|
|
|
# hadolint ignore=DL3008,DL3028
|
|
RUN apt-get update && \
|
|
apt-get -y --no-install-recommends install \
|
|
ruby \
|
|
ruby-dev \
|
|
rubygems \
|
|
build-essential \
|
|
git \
|
|
wget \
|
|
rpm \
|
|
gawk \
|
|
&& apt-get clean && \
|
|
gem install fpm && \
|
|
rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
|