mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 16:24:27 +01:00
76 lines
1.3 KiB
Plaintext
76 lines
1.3 KiB
Plaintext
ARG DEBIAN_FRONTEND=noninteractive
|
|
ARG REPO=http://cdn-fastly.deb.debian.org
|
|
|
|
RUN \
|
|
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 \
|
|
<<<<<<< HEAD
|
|
python3 \
|
|
python3-pip \
|
|
=======
|
|
# python3 \
|
|
# python3-pip \
|
|
>>>>>>> 9adf96c16b00759a9f7f69be3e61b5e16cdd6ac4
|
|
rsync \
|
|
sed \
|
|
ssh \
|
|
tar \
|
|
vim \
|
|
wget \
|
|
xz-utils \
|
|
zip \
|
|
zlib1g-dev \
|
|
<<<<<<< HEAD
|
|
unzip \
|
|
libtool-bin \
|
|
libtool-doc \
|
|
lzip \
|
|
&& \
|
|
apt-get clean --yes
|
|
# Add symlink for compatibility
|
|
RUN ln -s /usr/bin/python3 /usr/bin/python
|
|
=======
|
|
# python build
|
|
libncurses5-dev \
|
|
libgdbm-dev \
|
|
libnss3-dev \
|
|
libssl-dev \
|
|
libsqlite3-dev \
|
|
libreadline-dev \
|
|
libffi-dev \
|
|
libbz2-dev\
|
|
&& \
|
|
apt-get clean --yes
|
|
|
|
# build and install python
|
|
COPY \
|
|
imagefiles/build-and-install-python.sh \
|
|
/buildscripts/
|
|
RUN \
|
|
set -x && \
|
|
/buildscripts/build-and-install-python.sh && \
|
|
rm -rf /buildscripts
|
|
>>>>>>> 9adf96c16b00759a9f7f69be3e61b5e16cdd6ac4
|