Skip to content

Commit

Permalink
new node
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Jan 8, 2025
1 parent ad7ead0 commit d2a9d9b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM sitespeedio/node:ubuntu-24-04-nodejs-20.17.0-b
FROM sitespeedio/node:ubuntu-22-04-nodejs-22.13.0

ARG TARGETPLATFORM
ENV DEBIAN_FRONTEND noninteractive

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

0 comments on commit d2a9d9b

Please sign in to comment.