File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33ARG LIBRENMS_VERSION="24.2.0"
44ARG WEATHERMAP_PLUGIN_COMMIT="0b2ff643b65ee4948e4f74bb5cad5babdaddef27"
5- ARG ALPINE_VERSION="3.17 "
5+ ARG ALPINE_VERSION="3.19 "
66
77FROM crazymax/yasu:latest AS yasu
88FROM crazymax/alpine-s6:${ALPINE_VERSION}-2.2.0.3
@@ -79,8 +79,8 @@ RUN apk --update --no-cache add \
7979 mariadb-dev \
8080 musl-dev \
8181 python3-dev \
82- && pip3 install --upgrade pip \
83- && pip3 install python-memcached mysqlclient --upgrade \
82+ && pip3 install --upgrade --break-system-packages pip \
83+ && pip3 install python-memcached mysqlclient --upgrade --break-system-packages \
8484 && curl -sSL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
8585 && apk del build-dependencies \
8686 && rm -rf /var/www/* /tmp/* \
@@ -118,7 +118,7 @@ RUN apk --update --no-cache add -t build-dependencies \
118118 python3-dev \
119119 && echo "Installing LibreNMS https://github.com/librenms/librenms.git#${LIBRENMS_VERSION}..." \
120120 && git clone --depth=1 --branch ${LIBRENMS_VERSION} https://github.com/librenms/librenms.git . \
121- && pip3 install --ignore-installed -r requirements.txt --upgrade \
121+ && pip3 install --ignore-installed -r requirements.txt --upgrade --break-system-packages \
122122 && COMPOSER_CACHE_DIR="/tmp" composer install --no-dev --no-interaction --no-ansi \
123123 && mkdir config.d \
124124 && cp config.php.default config.php \
You can’t perform that action at this time.
0 commit comments