Skip to content

Commit

Permalink
Improve Dockerfile for non-docker applications
Browse files Browse the repository at this point in the history
For applications that are not the official docker, eg podman
they do not by default search the dockerhub repository, it is
better to explicity place the repository in the image name
  • Loading branch information
jpcoetzeeza committed Jun 11, 2024
1 parent 21ccd5e commit be6c797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/linux/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM buildpack-deps:jammy as build-casparcg
FROM docker.io/buildpack-deps:jammy as build-casparcg
ADD tools/linux/install-dependencies /

RUN apt-get update && /install-dependencies
Expand All @@ -24,7 +24,7 @@ FROM buildpack-deps:jammy as build-casparcg
RUN ln -s /build/staging /staging && \
/source/shell/copy_deps.sh /staging/bin/casparcg /staging/lib

FROM nvidia/opengl:1.2-glvnd-devel-ubuntu22.04
FROM docker.io/nvidia/opengl:1.2-glvnd-devel-ubuntu22.04
COPY --from=build-casparcg /staging /opt/casparcg

RUN set -ex; \
Expand Down

0 comments on commit be6c797

Please sign in to comment.