mirror of
https://github.com/linuxserver/docker-ldap-auth.git
synced 2026-02-20 01:01:02 +08:00
Create Dockerfile.aarch64
This commit is contained in:
parent
af72ec5e9c
commit
68e5dc2df2
35
Dockerfile.aarch64
Normal file
35
Dockerfile.aarch64
Normal file
@ -0,0 +1,35 @@
|
||||
FROM lsiobase/alpine.arm64:3.8
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="aptalca"
|
||||
|
||||
RUN \
|
||||
echo "**** install build packages ****" && \
|
||||
apk add --no-cache --virtual=build-dependencies \
|
||||
build-base \
|
||||
libffi-dev \
|
||||
openldap-dev \
|
||||
python2-dev && \
|
||||
echo "**** install runtime packages ****" && \
|
||||
apk add --no-cache \
|
||||
libffi \
|
||||
libldap \
|
||||
py2-pip \
|
||||
python2 && \
|
||||
pip install -U --no-cache-dir \
|
||||
cryptography \
|
||||
python-ldap && \
|
||||
echo "**** cleanup ****" && \
|
||||
apk del --purge \
|
||||
build-dependencies && \
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 8888 9000
|
||||
Loading…
x
Reference in New Issue
Block a user