fpm/Dockerfile

27 lines
708 B
Text
Raw Normal View History

2022-08-02 18:30:57 +02:00
############################################################
# 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
2022-11-17 17:05:49 +01:00
ENV http_proxy=http://acng2.grote.lan:9999
2022-08-02 18:30:57 +02:00
2022-08-02 18:34:58 +02:00
# hadolint ignore=DL3008,DL3028
2022-08-02 18:30:57 +02:00
RUN apt-get update && \
apt-get -y --no-install-recommends install \
ruby \
ruby-dev \
rubygems \
build-essential \
git \
wget \
rpm \
gawk \
2022-09-05 13:23:34 +02:00
&& apt-get clean \
&& gem install public_suffix -v 4.0.7 \
&& gem install fpm --no-ri --no-rdoc \
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*