File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
root/etc/s6-overlay/s6-rc.d/init-netbox-config Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,16 @@ RUN \
1818 libffi-dev \
1919 libxslt-dev \
2020 libxml2-dev \
21+ openldap-dev \
2122 openssl-dev \
2223 postgresql-dev \
2324 python3-dev \
2425 zlib-dev && \
2526 echo "**** install runtime packages ****" && \
2627 apk add --no-cache --upgrade \
27- tiff \
2828 postgresql-client \
2929 python3 \
30+ tiff \
3031 uwsgi \
3132 uwsgi-python && \
3233 echo "**** install netbox ****" && \
4849 pip \
4950 wheel && \
5051 pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ -r requirements.txt && \
52+ pip install --no-cache-dir django-auth-ldap && \
5153 printf "Linuxserver.io version: ${VERSION}\n Build-date: ${BUILD_DATE}" > /build_version && \
5254 echo "**** cleanup ****" && \
5355 apk del --purge \
Original file line number Diff line number Diff line change @@ -18,15 +18,16 @@ RUN \
1818 libffi-dev \
1919 libxslt-dev \
2020 libxml2-dev \
21+ openldap-dev \
2122 openssl-dev \
2223 postgresql-dev \
2324 python3-dev \
2425 zlib-dev && \
2526 echo "**** install runtime packages ****" && \
2627 apk add --no-cache --upgrade \
27- tiff \
2828 postgresql-client \
2929 python3 \
30+ tiff \
3031 uwsgi \
3132 uwsgi-python && \
3233 echo "**** install netbox ****" && \
4849 pip \
4950 wheel && \
5051 pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ -r requirements.txt && \
52+ pip install --no-cache-dir django-auth-ldap && \
5153 printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
5254 echo "**** cleanup ****" && \
5355 apk del --purge \
Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ ln -sf /config/media /app/netbox/netbox/media
4747
4848ln -sf /config/configuration.py /app/netbox/netbox/netbox/configuration.py
4949
50+ touch /config/ldap_config.py
51+ ln -sf /config/ldap_config.py /app/netbox/netbox/netbox/ldap_config.py
52+
5053mv /defaults/uwsgi.ini /app/netbox/netbox/uwsgi.ini > /dev/null 2>&1
5154
5255# build docs
You can’t perform that action at this time.
0 commit comments