docker-builder/builder.dockerfile
Martin Kennedy fc6902981c Initial setup
The point of this is to separate dockerfiles and build them on top of
each other wherever possible.

Then we can build them interdependently with makefiles!
2021-02-06 21:47:58 +00:00

44 lines
850 B
Docker

FROM debian:10
ARG DEBIAN_FRONTEND=noninteractive
USER root
RUN echo 'deb http://deb.debian.org/debian testing main' \
> /etc/apt/sources.list.d/testing.list && \
apt-get update && \
apt-get install -t buster -y \
pwgen \
locales \
build-essential \
git-core \
subversion \
libncurses5-dev \
gawk \
unzip \
pv \
gosu \
signify-openbsd \
python3 \
wget \
curl \
ccache \
emacs \
screen \
rsync && \
apt-get clean && \
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG=en_US.utf8
COPY builder-entry.sh /entry.sh
COPY builder-start.sh /start.sh
RUN mkdir /builder && \
useradd --home /builder --shell /bin/bash buildbot && \
chown buildbot:buildbot /builder && \
chmod 0755 /entry.sh /start.sh
ENTRYPOINT [ "/entry.sh" ]
CMD [ "/start.sh" ]