Skip to content

Commit 4384a15

Browse files
committed
tidy up, change baseimage
1 parent a1b6bdc commit 4384a15

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

Dockerfile

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
1-
FROM lsiobase/alpine.python:3.7
1+
FROM lsiobase/alpine:3.8
22

33
# set version label
44
ARG BUILD_DATE
55
ARG VERSION
66
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
77
LABEL maintainer="aptalca"
88

9-
# install packages
109
RUN \
11-
apk add --no-cache \
12-
libldap && \
10+
echo "**** install build packages ****" && \
1311
apk add --no-cache --virtual=build-dependencies \
1412
build-base \
13+
libffi-dev \
1514
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+
pip install -U --no-cache-dir \
1922
cryptography \
23+
python2 \
2024
python-ldap && \
21-
echo "**** remove build dependencies ****" && \
25+
echo "**** cleanup ****" && \
2226
apk del --purge \
2327
build-dependencies && \
2428
rm -rf \

0 commit comments

Comments
 (0)