forked from uncloud/uncloud
174479f6d7
To move forward while ldap doesn't build
26 lines
594 B
Text
26 lines
594 B
Text
# Currently not working due do ldap:
|
|
#
|
|
# /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lldap_r
|
|
#
|
|
# While trying to install python-ldap
|
|
|
|
FROM python:3.10.0-alpine3.15
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY requirements.txt ./
|
|
# OS requirements for building wheel and for operating uncloud
|
|
RUN apk update && apk add \
|
|
gcc \
|
|
git \
|
|
libxml2-dev \
|
|
libxslt-dev \
|
|
libffi-dev \
|
|
openldap-dev \
|
|
postgresql-dev \
|
|
python3-dev \
|
|
musl-dev \
|
|
wireguard-tools-wg
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|