dockcross/common.debian
2020-05-10 22:19:32 -04:00

55 lines
1.3 KiB
Plaintext

# Image build scripts
COPY \
imagefiles/install-gosu-binary.sh \
imagefiles/install-gosu-binary-wrapper.sh \
/buildscripts/
ARG DEBIAN_FRONTEND=noninteractive
ARG REPO=http://cdn-fastly.deb.debian.org
RUN \
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" && \
apt-get update --yes && \
apt-get install --no-install-recommends --yes \
autogen \
automake \
bash \
bc \
bison \
build-essential \
bzip2 \
ca-certificates \
curl \
dirmngr \
file \
flex \
gettext \
gzip \
gnupg \
initramfs-tools \
libncurses5 \
libtool \
make \
ncurses-dev \
pkg-config \
pax \
python \
python-pip \
rsync \
sed \
ssh \
tar \
vim \
wget \
xz-utils \
zip \
zlib1g-dev \
&& \
apt-get clean --yes && \
/buildscripts/install-gosu-binary.sh && \
/buildscripts/install-gosu-binary-wrapper.sh && \
rm -rf /buildscripts