Skip to content

Commit d2a9d9b

Browse files
committed
new node
1 parent ad7ead0 commit d2a9d9b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Dockerfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
FROM sitespeedio/node:ubuntu-24-04-nodejs-20.17.0-b
1+
FROM sitespeedio/node:ubuntu-22-04-nodejs-22.13.0
22

33
ARG TARGETPLATFORM
4-
ENV DEBIAN_FRONTEND noninteractive
54

65
# Lets install all dependencies for VisualMetrics
76
RUN export BUILD=$(if [ "$TARGETPLATFORM" = "linux/amd64" ] ; then echo "amd64"; else echo "arm64"; fi) \
@@ -12,13 +11,12 @@ RUN export BUILD=$(if [ "$TARGETPLATFORM" = "linux/amd64" ] ; then echo "amd64";
1211
python3 \
1312
python3-dev \
1413
python3-pip \
15-
python-is-python3 \
1614
xz-utils \
1715
$buildDeps \
1816
--no-install-recommends --force-yes && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
19-
python -m pip install --upgrade pip && \
20-
python -m pip install --upgrade setuptools && \
21-
python -m pip install pyssim OpenCV-Python Numpy image && \
17+
python3 -m pip install --upgrade pip && \
18+
python3 -m pip install --upgrade setuptools && \
19+
python3 -m pip install --no-cache-dir pyssim OpenCV-Python Numpy image && \
2220
wget https://johnvansickle.com/ffmpeg/old-releases/ffmpeg-5.1.1-$BUILD-static.tar.xz && \
2321
tar --strip-components 1 -C /usr/bin -xf ffmpeg-5.1.1-$BUILD-static.tar.xz --wildcards ffmpeg*/ff* && \
2422
rm ffmpeg-5.1.1-$BUILD-static.tar.xz && \

0 commit comments

Comments
 (0)