forked from thumbor/thumbor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TestDockerfile37
30 lines (27 loc) · 860 Bytes
/
TestDockerfile37
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
FROM python:3.7-slim
WORKDIR /app
RUN apt-get update -y && \
apt-get install -y --no-install-recommends --no-install-suggests \
python3-dev \
libcurl4-openssl-dev \
libgnutls28-dev \
libjpeg-progs \
libimage-exiftool-perl \
gifsicle \
scons \
python3-all-dev \
libboost-python-dev \
libexiv2-dev \
ffmpeg \
make \
zlib1g-dev \
gcc \
libssl-dev \
libjpeg-dev \
libwebp-dev \
redis && \
apt-get install -y --reinstall --no-install-recommends --no-install-suggests build-essential && \
apt-get clean
RUN ln -s /usr/lib/x86_64-linux-gnu/libboost_python39.so /usr/lib/libboost_python37.so
RUN ln -s /usr/lib/x86_64-linux-gnu/libboost_python39.so /usr/lib/libboost_python3.so
RUN pip install --upgrade pip