mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-10 05:07:26 +01:00
5f5a890714
Simplify all common.* files by simply removing the "buildscripts" directory instead of listing each script one by one.
46 lines
874 B
Plaintext
46 lines
874 B
Plaintext
RUN REPO=http://cdn-fastly.deb.debian.org && \
|
|
echo "deb $REPO/debian jessie main\ndeb $REPO/debian jessie-updates main\ndeb $REPO/debian-security jessie/updates main" > /etc/apt/sources.list
|
|
|
|
# Image build scripts
|
|
COPY imagefiles/install-gosu-binary.sh /buildscripts/
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN \
|
|
apt-get update --yes && \
|
|
apt-get install --no-install-recommends --yes \
|
|
automake \
|
|
autogen \
|
|
bash \
|
|
build-essential \
|
|
bc \
|
|
bzip2 \
|
|
ca-certificates \
|
|
curl \
|
|
file \
|
|
gettext \
|
|
gzip \
|
|
zip \
|
|
make \
|
|
ncurses-dev \
|
|
pkg-config \
|
|
libtool \
|
|
python \
|
|
python-pip \
|
|
rsync \
|
|
sed \
|
|
ssh \
|
|
bison \
|
|
flex \
|
|
tar \
|
|
pax \
|
|
vim \
|
|
wget \
|
|
xz-utils \
|
|
zlib1g-dev \
|
|
&& \
|
|
apt-get clean --yes && \
|
|
/buildscripts/install-gosu-binary.sh && \
|
|
rm -rf /buildscripts
|
|
|