Skip to content

Commit b823f6b

Browse files
committed
Alpine Linux 3.19
1 parent aa9fd2c commit b823f6b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
ARG LIBRENMS_VERSION="24.2.0"
44
ARG WEATHERMAP_PLUGIN_COMMIT="0b2ff643b65ee4948e4f74bb5cad5babdaddef27"
5-
ARG ALPINE_VERSION="3.17"
5+
ARG ALPINE_VERSION="3.19"
66

77
FROM crazymax/yasu:latest AS yasu
88
FROM 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 \

0 commit comments

Comments
 (0)