File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
ARG PYTHON_VERSION
2
- FROM python:${PYTHON_VERSION}
2
+ FROM python:${PYTHON_VERSION}-slim
3
3
4
4
RUN apt-get update \
5
5
&& apt-get install -y libmemcached-dev \
6
6
build-essential \
7
7
libsqlite3-mod-spatialite binutils libproj-dev gdal-bin libgdal20 libgeoip1 \
8
- mysql-client \
8
+ default-libmysqlclient-dev \
9
9
unzip libaio1 \
10
10
libenchant1c2a \
11
11
gettext \
12
+ wget \
12
13
&& apt-get clean
13
14
14
15
RUN groupadd -r test && useradd --no-log-init -r -g test test
@@ -25,6 +26,7 @@ RUN wget -q https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-
25
26
&& chmod a+x /bin/wait-for-it.sh
26
27
27
28
ENV PIP_NO_CACHE_DIR=off
29
+ ENV PYTHONDONTWRITEBYTECODE=1
28
30
RUN pip install --upgrade pip
29
31
30
32
COPY --chown=test:test tests/requirements/ /requirements/
You can’t perform that action at this time.
0 commit comments