Don't install build libraries
pip pulls down pre-compiled versions of all the required packages, so we don't need to build anything locally.
This commit is contained in:
Родитель
c0d6bf0e02
Коммит
117b4058d3
12
Dockerfile
12
Dockerfile
|
@ -8,18 +8,6 @@ ARG TZ='UTC'
|
|||
|
||||
ENV DEFAULT_TZ=${TZ}
|
||||
|
||||
RUN apk add --no-cache \
|
||||
libxml2-dev \
|
||||
libxslt-dev \
|
||||
python3-dev \
|
||||
make \
|
||||
gcc \
|
||||
libffi-dev \
|
||||
build-base \
|
||||
openssl-dev \
|
||||
cargo \
|
||||
tzdata
|
||||
|
||||
# Fix the warning where no timezone is specified
|
||||
RUN cp /usr/share/zoneinfo/${DEFAULT_TZ} /etc/localtime
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче