updated the Dockerfiles to use full URL

This commit is contained in:
k4yt3x 2022-02-10 03:26:01 +00:00
parent 14f3cd1e16
commit 240d722fda
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@
# Last Modified: February 4, 2022 # Last Modified: February 4, 2022
# stage 1: build the python components into wheels # stage 1: build the python components into wheels
FROM nvidia/cuda:11.6.0-runtime-ubuntu20.04 AS builder FROM docker.io/nvidia/cuda:11.6.0-runtime-ubuntu20.04 AS builder
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
COPY . /video2x COPY . /video2x
@ -21,7 +21,7 @@ RUN apt-get update \
rife-ncnn-vulkan-python@git+https://github.com/media2x/rife-ncnn-vulkan-python.git . rife-ncnn-vulkan-python@git+https://github.com/media2x/rife-ncnn-vulkan-python.git .
# stage 2: install wheels into the final image # stage 2: install wheels into the final image
FROM nvidia/cuda:11.6.0-runtime-ubuntu20.04 FROM docker.io/nvidia/cuda:11.6.0-runtime-ubuntu20.04
LABEL maintainer="K4YT3X <i@k4yt3x.com>" \ LABEL maintainer="K4YT3X <i@k4yt3x.com>" \
org.opencontainers.image.source="https://github.com/k4yt3x/video2x" \ org.opencontainers.image.source="https://github.com/k4yt3x/video2x" \
org.opencontainers.image.description="A lossless video/GIF/image upscaler" org.opencontainers.image.description="A lossless video/GIF/image upscaler"

View File

@ -4,7 +4,7 @@
# Last Modified: February 4, 2022 # Last Modified: February 4, 2022
# stage: build python components into heels # stage: build python components into heels
FROM python:3.10.2-alpine3.15 AS builder FROM docker.io/library/python:3.10.2-alpine3.15 AS builder
COPY . /video2x COPY . /video2x
WORKDIR /video2x WORKDIR /video2x
RUN apk add --no-cache \ RUN apk add --no-cache \
@ -17,7 +17,7 @@ RUN apk add --no-cache \
rife-ncnn-vulkan-python@git+https://github.com/media2x/rife-ncnn-vulkan-python.git . rife-ncnn-vulkan-python@git+https://github.com/media2x/rife-ncnn-vulkan-python.git .
# stage 2: install wheels into final image # stage 2: install wheels into final image
FROM python:3.10.2-alpine3.15 FROM docker.io/library/python:3.10.2-alpine3.15
LABEL maintainer="K4YT3X <i@k4yt3x.com>" LABEL maintainer="K4YT3X <i@k4yt3x.com>"
org.opencontainers.image.source="https://github.com/k4yt3x/video2x" \ org.opencontainers.image.source="https://github.com/k4yt3x/video2x" \
org.opencontainers.image.description="A lossless video/GIF/image upscaler" org.opencontainers.image.description="A lossless video/GIF/image upscaler"