Skip to content

Commit

Permalink
⬆️ Update os dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Poeschl committed Sep 24, 2024
1 parent eba2b8e commit 4833618
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions vnc-viewer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ ARG BUILD_FROM
FROM $BUILD_FROM AS NO_VNC

RUN apt-get update && apt-get -y --no-install-recommends install \
git=1:2.35.1-1
git=1:2.39.5-0+deb12u1

RUN git config --global advice.detachedHead false && \
git clone https://github.com/novnc/noVNC.git -b v1.3.0 /noVNC

FROM $BUILD_FROM AS WEBSOCKIFY

RUN apt-get update && apt-get -y --no-install-recommends install \
git=1:2.35.1-1 \
python3=3.10.5-3 \
python3-setuptools=59.6.0-1.2 \
python3-numpy=1:1.21.5-1+b1 \
python3-pip=22.2+dfsg-1
git=1:2.39.5-0+deb12u1 \
python3=3.11.2-1+b1 \
python3-setuptools=66.1.1-1 \
python3-numpy=1:1.24.2-1+deb12u1 \
python3-pip=23.0.1+dfsg-1

RUN pip3 install --no-cache-dir Cython==0.29.32
RUN pip3 install --break-system-packages --no-cache-dir Cython==0.29.32

# hadolint ignore=DL3003
RUN git config --global advice.detachedHead false && \
Expand All @@ -26,16 +26,16 @@ RUN git config --global advice.detachedHead false && \
FROM $BUILD_FROM AS RUNNING

RUN apt-get update && apt-get -y --no-install-recommends install \
git=1:2.35.1-1 \
python3=3.10.5-3 \
python3-setuptools=59.6.0-1.2 \
python3-numpy=1:1.21.5-1+b1 \
procps=2:3.3.17-7+b1 \
git=1:2.39.5-0+deb12u1 \
python3=3.11.2-1+b1 \
python3-setuptools=66.1.1-1 \
python3-numpy=1:1.24.2-1+deb12u1 \
procps=2:4.0.2-3 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

COPY --from=NO_VNC /noVNC /noVNC
COPY --from=WEBSOCKIFY /usr/local/lib/python3.10/dist-packages/ /usr/local/lib/python3.10/dist-packages/
COPY --from=WEBSOCKIFY /usr/local/lib/python3.11/dist-packages/ /usr/local/lib/python3.11/dist-packages/
COPY --from=WEBSOCKIFY /usr/local/bin/websockify /usr/local/bin/websockify

ENTRYPOINT [ "/init" ]
Expand Down

0 comments on commit 4833618

Please sign in to comment.