mirror of
https://github.com/FOGProject/fos.git
synced 2026-02-05 16:40:59 -06:00
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.
14 lines
551 B
Docker
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
|