tenku/docker/ubuntu-pkgbuilder/Dockerfile.tpl
gdm85 e7eacc9d2e Adding templating to support multiple Ubuntu versions
Renaming images to be more generic and not tied to Trusty

Have both pkgbuilder and kernelbuilder support multiple versions of Ubuntu
2015-10-28 16:06:43 +01:00

28 lines
756 B
Smarty

## ubuntu-pkgbuilder
##
## VERSION 0.1.1
##
## Ubuntu image to build a .deb package
##
#
FROM %IMAGE%
MAINTAINER Giuseppe Mazzotta "gdm85@users.noreply.github.com"
ENV DEBIAN_FRONTEND noninteractive
## replace sources
COPY sources.list /etc/apt/sources.list
RUN apt-get update && apt-get install -y apt-utils aptitude && aptitude update && aptitude safe-upgrade -y && \
aptitude install -y nano tmux fakeroot build-essential crash kexec-tools makedumpfile kernel-wedge
## log rotation is not managed in this container, thus remove it
RUN apt-get remove -y logrotate
## user that will make the compilation
RUN useradd -m -s /bin/bash rdeckard && mkdir /home/rdeckard/patches && chown rdeckard.rdeckard /home/rdeckard/patches
WORKDIR /home/rdeckard