|
|
@@ -368,7 +368,10 @@ ENV PATH="/usr/local/nvidia/bin:${PATH}" \
|
|
|
LD_LIBRARY_PATH="/usr/local/nvidia/lib:/usr/local/nvidia/lib64"
|
|
|
|
|
|
# Install every Selkies component from the same stable v1.6.2 release.
|
|
|
+# evdev is built from source on Python 3.12, so gcc is needed only for this step.
|
|
|
RUN set -eux; \
|
|
|
+ apt-get update; \
|
|
|
+ apt-get install --no-install-recommends -y gcc; \
|
|
|
ubuntu_version="$(. /etc/os-release; printf '%s' "${VERSION_ID}")"; \
|
|
|
arch="$(dpkg --print-architecture)"; \
|
|
|
release_url="https://github.com/selkies-project/selkies/releases/download/v${SELKIES_VERSION}"; \
|
|
|
@@ -400,6 +403,8 @@ RUN set -eux; \
|
|
|
rm -f \
|
|
|
"${wheel_path}" \
|
|
|
/tmp/selkies-js-interposer.deb; \
|
|
|
+ apt-get purge -y gcc; \
|
|
|
+ apt-get autoremove -y; \
|
|
|
apt-get clean; \
|
|
|
rm -rf /var/lib/apt/lists/* /var/cache/apt/* /tmp/* /var/tmp/*
|
|
|
|