File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 1
- FROM lsiobase/alpine.python :3.7
1
+ FROM lsiobase/alpine:3.8
2
2
3
3
# set version label
4
4
ARG BUILD_DATE
5
5
ARG VERSION
6
6
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
7
7
LABEL maintainer="aptalca"
8
8
9
- # install packages
10
9
RUN \
11
- apk add --no-cache \
12
- libldap && \
10
+ echo "**** install build packages ****" && \
13
11
apk add --no-cache --virtual=build-dependencies \
14
12
build-base \
13
+ libffi-dev \
15
14
openldap-dev \
16
- python2-dev \
17
- python3-dev && \
18
- pip install --no-cache-dir \
15
+ python2-dev && \
16
+ echo "**** install runtime packages ****" && \
17
+ apk add --no-cache \
18
+ libffi \
19
+ libldap \
20
+ py2-pip \
21
+ python2 && \
22
+ pip install -U --no-cache-dir \
19
23
cryptography \
20
24
python-ldap && \
21
- echo "**** remove build dependencies ****" && \
25
+ echo "**** cleanup ****" && \
22
26
apk del --purge \
23
27
build-dependencies && \
24
28
rm -rf \
Original file line number Diff line number Diff line change
1
+ libffi \
2
+ libldap \
3
+ python2 \
4
+ py2-pip && \
You can’t perform that action at this time.
0 commit comments