From 6b36f0a3e05ac00f12e1b68649cd1a813ec93590 Mon Sep 17 00:00:00 2001 From: konsthol Date: Tue, 27 May 2025 09:22:34 +0300 Subject: [PATCH] You can't see it, but I'm making a very angry face right now --- Dockerfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 95be0ed..0cbf908 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,11 @@ FROM docker:dind -COPY ./setup-daemon.sh /bin/ -RUN chmod +x /bin/setup-daemon.sh +# COPY ./setup-daemon.sh /bin/ +# RUN chmod +x /bin/setup-daemon.sh -ENTRYPOINT ["/bin/setup-daemon.sh"] +# ENTRYPOINT ["/bin/setup-daemon.sh"] + +RUN mkdir -p /etc/docker && \ + echo '{ "insecure-registries": ["http://nexus-repo-nexus-repository-manager.default.svc.cluster.local:5000"] }' > /etc/docker/daemon.json + +CMD ["dockerd"]