Skip to content

Commit 74c9264

Browse files
authored
Merge pull request #1 from linuxserver/tidy_up
tidy up, change baseimage
2 parents a1b6bdc + a6787a7 commit 74c9264

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-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+
python2 && \
22+
pip install -U --no-cache-dir \
1923
cryptography \
2024
python-ldap && \
21-
echo "**** remove build dependencies ****" && \
25+
echo "**** cleanup ****" && \
2226
apk del --purge \
2327
build-dependencies && \
2428
rm -rf \

list

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
libffi \
2+
libldap \
3+
python2 \
4+
py2-pip && \

0 commit comments

Comments
 (0)