fos/docker/Dockerfile
Tom Elliott 0b4963d9e6 Update docker file to include the libelf-dev and libelf-dev:i386 for the
image. (Needs repo updated too, mastacontrola/fos-builder is available
with this modified docker image now.)
Update build.sh script to build 32 bit inits with the ARCH=i486 flag.
Otherwise it's building against 64 bit code which would, more or less,
make 32 bit init's unusable. Will monitor to ensure all builds
appropriately however.
2018-02-10 00:55:48 -05:00

14 lines
551 B
Docker

FROM debian:9
LABEL maintainer="contact@fogproject.org"
RUN dpkg --add-architecture i386 && apt-get update\
&& DEBIAN_FRONTEND=noninteractive\
apt-get install -y wget subversion git mercurial meld build-essential rsync libncurses-dev gcc-multilib cpio bc unzip locales texinfo libelf-dev libelf-dev:i386
RUN rm -rf /var/lib/apt/lists/* \
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.utf8
RUN adduser --disabled-password --uid 1000 --gecos "Docker Builder,,," builder
WORKDIR /home/builder