File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ FROM php-base
185
185
gpg-agent \
186
186
mariadb-client \
187
187
rsync \
188
+ python3-setuptools \
188
189
# PHP Requirements
189
190
php7.4 \
190
191
php7.4-apcu \
@@ -229,6 +230,13 @@ FROM php-base
229
230
COPY --from=composer-build --chown=www-data:www-data --chmod=0550 /tmp/Vendor /var/www/MISP/app/Vendor
230
231
COPY --from=composer-build --chown=www-data:www-data --chmod=0550 /tmp/Plugin /var/www/MISP/app/Plugin
231
232
233
+ # python3-setuptools has been deprecated upstream (and 'distutils.version' is needed by 'mixbox')
234
+ RUN cp /usr/lib/python3/dist-packages/setuptools/_distutils/version.py \
235
+ /usr/local/lib/python3.12/site-packages/mixbox/distutils_version.py
236
+ RUN sed -i 's/from distutils\. version/from mixbox.distutils_version/' \
237
+ /usr/local/lib/python3.12/site-packages/mixbox/parser.py
238
+ RUN apt-get remove --purge python3-setuptools -y
239
+
232
240
# Gather these in one layer, only act on actual directories under /etc/php/
233
241
RUN <<-EOF
234
242
set -- "ssdeep" "rdkafka" "brotli" "simdjson" "zstd"
You can’t perform that action at this time.
0 commit comments