File tree Expand file tree Collapse file tree 5 files changed +553
-1
lines changed Expand file tree Collapse file tree 5 files changed +553
-1
lines changed Original file line number Diff line number Diff line change
1
+ FROM lsiobase/alpine.arm64:3.8
2
+
3
+ # set version label
4
+ ARG BUILD_DATE
5
+ ARG VERSION
6
+ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
7
+ LABEL maintainer="aptalca"
8
+
9
+ RUN \
10
+ echo "**** install build packages ****" && \
11
+ apk add --no-cache --virtual=build-dependencies \
12
+ build-base \
13
+ libffi-dev \
14
+ openldap-dev \
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 \
23
+ cryptography \
24
+ python-ldap && \
25
+ echo "**** cleanup ****" && \
26
+ apk del --purge \
27
+ build-dependencies && \
28
+ rm -rf \
29
+ /tmp/*
30
+
31
+ # copy local files
32
+ COPY root/ /
33
+
34
+ # ports and volumes
35
+ EXPOSE 8888 9000
Original file line number Diff line number Diff line change
1
+ FROM lsiobase/alpine.armhf:3.8
2
+
3
+ # set version label
4
+ ARG BUILD_DATE
5
+ ARG VERSION
6
+ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
7
+ LABEL maintainer="aptalca"
8
+
9
+ RUN \
10
+ echo "**** install build packages ****" && \
11
+ apk add --no-cache --virtual=build-dependencies \
12
+ build-base \
13
+ libffi-dev \
14
+ openldap-dev \
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 \
23
+ cryptography \
24
+ python-ldap && \
25
+ echo "**** cleanup ****" && \
26
+ apk del --purge \
27
+ build-dependencies && \
28
+ rm -rf \
29
+ /tmp/*
30
+
31
+ # copy local files
32
+ COPY root/ /
33
+
34
+ # ports and volumes
35
+ EXPOSE 8888 9000
You can’t perform that action at this time.
0 commit comments