≈ the.bay.news

How do you use pkgs.dockerTools to express a multi-stage build process similar to a Dockerfile?

NixOS Discourse
How do you use pkgs.dockerTools to express a multi-stage build process similar to a Dockerfile?
I have been trying to find an example of pkgs.dockerTools.pullImage, pkgs.dockerTools.buildImage, and pkgs.dockerTools.buildLayeredImage that does the equivalent of this very simple dockerfile: FROM caddy:2.11-builder AS builder RUN xcaddy build \ --with github.com/caddy-dns/namesilo \ --with github.com/liujed/caddy-dns01proxy FROM caddy:2.11 COPY --from=builder /usr/bin/caddy /usr/bin/caddy So far, I’ve found the following threads and posts on the topic: pkgs.dockerTools Examples C...

I have been trying to find an example of pkgs.dockerTools.pullImage, pkgs.dockerTools.buildImage, and pkgs.dockerTools.buildLayeredImage that does the equivalent of this very…

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.