forked from SynoCommunity/spksrc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
67 lines (59 loc) · 1.61 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
FROM debian:stretch
MAINTAINER SynoCommunity <https://synocommunity.com>
ENV LANG C.UTF-8
# Manage i386 arch
RUN dpkg --add-architecture i386
# Include backports for recent Meson build tool
RUN echo "deb http://deb.debian.org/debian stretch-backports main contrib non-free" > /etc/apt/sources.list.d/stretch-backports.list
# Install required packages
RUN apt-get update && \
apt-get install --no-install-recommends -y automake \
libtool \
bc \
bison \
build-essential \
check \
cmake \
curl \
cython \
debootstrap \
expect \
flex \
gettext \
git \
gperf \
imagemagick \
intltool \
libbz2-dev \
libc6-i386 \
libcppunit-dev \
libffi-dev \
libgc-dev \
libltdl-dev \
libmount-dev \
libpcre3-dev \
libssl-dev \
libunistring-dev \
unzip \
lzip \
mercurial \
ncurses-dev \
php \
pkg-config \
python3 \
subversion \
swig \
xmlto \
zlib1g-dev && \
apt-get -t stretch-backports -y install meson && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# recent meson for fuse and sshfs
# Install setuptools, wheel and pip for Python3
RUN wget https://bootstrap.pypa.io/get-pip.py -O - | python3
# Install setuptools, pip, virtualenv, wheel and httpie for Python2
RUN wget https://bootstrap.pypa.io/get-pip.py -O - | python
RUN pip install virtualenv httpie
# Volume pointing to spksrc sources
VOLUME /spksrc
WORKDIR /spksrc