2018-06-07 02:17:10 +02:00
|
|
|
# Image build scripts
|
2019-06-08 23:47:03 +02:00
|
|
|
COPY \
|
|
|
|
imagefiles/install-gosu-binary.sh \
|
|
|
|
imagefiles/install-gosu-binary-wrapper.sh \
|
|
|
|
/buildscripts/
|
2018-06-05 07:01:18 +02:00
|
|
|
|
2017-01-28 20:50:37 +01:00
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
2018-06-07 08:26:54 +02:00
|
|
|
ARG REPO=http://cdn-fastly.deb.debian.org
|
2017-01-28 20:50:37 +01:00
|
|
|
|
2018-06-05 05:53:38 +02:00
|
|
|
RUN \
|
2019-04-22 16:09:10 +02:00
|
|
|
bash -c "echo \"deb $REPO/debian stretch main contrib non-free\" > /etc/apt/sources.list" && \
|
|
|
|
bash -c "echo \"deb $REPO/debian stretch-updates main contrib non-free\" >> /etc/apt/sources.list" && \
|
|
|
|
bash -c "echo \"deb $REPO/debian-security stretch/updates main\" >> /etc/apt/sources.list" && \
|
|
|
|
bash -c "echo \"deb http://ftp.debian.org/debian stretch-backports main\" >> /etc/apt/sources.list" && \
|
2018-06-05 05:53:38 +02:00
|
|
|
apt-get update --yes && \
|
|
|
|
apt-get install --no-install-recommends --yes \
|
|
|
|
automake \
|
|
|
|
autogen \
|
|
|
|
bash \
|
|
|
|
build-essential \
|
|
|
|
bc \
|
|
|
|
bzip2 \
|
|
|
|
ca-certificates \
|
|
|
|
curl \
|
2019-04-22 16:09:10 +02:00
|
|
|
dirmngr \
|
2018-06-05 05:53:38 +02:00
|
|
|
file \
|
|
|
|
gettext \
|
|
|
|
gzip \
|
2019-04-22 16:09:10 +02:00
|
|
|
gnupg \
|
2018-06-05 05:53:38 +02:00
|
|
|
zip \
|
|
|
|
make \
|
|
|
|
ncurses-dev \
|
|
|
|
pkg-config \
|
|
|
|
libtool \
|
|
|
|
python \
|
|
|
|
python-pip \
|
|
|
|
rsync \
|
|
|
|
sed \
|
|
|
|
ssh \
|
|
|
|
bison \
|
|
|
|
flex \
|
|
|
|
tar \
|
|
|
|
pax \
|
|
|
|
vim \
|
|
|
|
wget \
|
|
|
|
xz-utils \
|
|
|
|
zlib1g-dev \
|
|
|
|
&& \
|
2018-06-05 07:01:18 +02:00
|
|
|
apt-get clean --yes && \
|
2018-06-07 02:17:10 +02:00
|
|
|
/buildscripts/install-gosu-binary.sh && \
|
2019-06-08 23:47:03 +02:00
|
|
|
/buildscripts/install-gosu-binary-wrapper.sh && \
|
2018-06-07 02:17:10 +02:00
|
|
|
rm -rf /buildscripts
|