allzweckcontainer/Dockerfile
2022-08-06 11:07:52 +02:00

25 lines
674 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 ubuntu:focal
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 \
build-essential \
git \
wget \
rpm \
rsync \
openssh-client \
git \
&& apt-get clean && \
gem install --no-ri --no-rdoc fpm && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*