waas (2024-11-27-ed93cf)

Published 2024-11-27 22:32:53 +00:00 by eric

Installation

docker pull git.ericxliu.me/eric/waas:2024-11-27-ed93cf
sha256:f75643569f79c9350074974a2e9f24ba1e11c05e0e0b5368a920115d80a8937f

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:63d5ab3ef0aab308c0e71cb67292c5467f60deafa9b0418cbb220affcd078444 in /
CMD ["/bin/bash"]
ENV NVARCH=x86_64
ENV NVIDIA_REQUIRE_CUDA=cuda>=12.0 brand=tesla,driver>=470,driver<471 brand=unknown,driver>=470,driver<471 brand=nvidia,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471 brand=geforce,driver>=470,driver<471 brand=geforcertx,driver>=470,driver<471 brand=quadro,driver>=470,driver<471 brand=quadrortx,driver>=470,driver<471 brand=titan,driver>=470,driver<471 brand=titanrtx,driver>=470,driver<471
ENV NV_CUDA_CUDART_VERSION=12.0.146-1
ENV NV_CUDA_COMPAT_PACKAGE=cuda-compat-12-0
ARG TARGETARCH
LABEL maintainer=NVIDIA CORPORATION <cudatools@nvidia.com>
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends gnupg2 curl ca-certificates && curl -fsSLO https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/${NVARCH}/cuda-keyring_1.0-1_all.deb && dpkg -i cuda-keyring_1.0-1_all.deb && apt-get purge --autoremove -y curl && rm -rf /var/lib/apt/lists/* # buildkit
ENV CUDA_VERSION=12.0.1
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends cuda-cudart-12-0=${NV_CUDA_CUDART_VERSION} ${NV_CUDA_COMPAT_PACKAGE} && rm -rf /var/lib/apt/lists/* # buildkit
RUN |1 TARGETARCH=amd64 /bin/sh -c echo "/usr/local/nvidia/lib" >> /etc/ld.so.conf.d/nvidia.conf && echo "/usr/local/nvidia/lib64" >> /etc/ld.so.conf.d/nvidia.conf # buildkit
ENV PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
COPY NGC-DL-CONTAINER-LICENSE / # buildkit
ENV NVIDIA_VISIBLE_DEVICES=all
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
ENV PYTHON_VERSION=3.10
WORKDIR /workspace
RUN /bin/sh -c export DEBIAN_FRONTEND=noninteractive && apt-get -qq update && apt-get -qq install --no-install-recommends git ffmpeg python${PYTHON_VERSION} python${PYTHON_VERSION}-venv python3-pip && rm -rf /var/lib/apt/lists/* # buildkit
COPY requirements.txt requirements.txt # buildkit
RUN /bin/sh -c pip3 install -r requirements.txt && rm -rf ~/.cache/pip # buildkit
COPY src src # buildkit
CMD ["flask" "--app" "src/main" "--debug" "run" "--host" "0.0.0.0" "--port" "3000"]

Labels

Key Value
maintainer NVIDIA CORPORATION <cudatools@nvidia.com>
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 22.04
Details
Container
2024-11-27 22:32:53 +00:00
1
OCI / Docker
linux/amd64
3.0 GiB
Versions (3) View all
2024-11-27-ed93cf 2024-11-27
latest 2024-11-27
2024-11-27-25be66 2024-11-27