diff options
author | Daniel Salzman <daniel.salzman@nic.cz> | 2023-01-20 19:01:10 +0100 |
---|---|---|
committer | Daniel Salzman <daniel.salzman@nic.cz> | 2023-01-20 19:01:10 +0100 |
commit | f4a0f9e4e7d981028ef523bb351df77da82b69eb (patch) | |
tree | cfa76a351ca575c27ec864b29d0ff6e220b66b7b /Dockerfile | |
parent | Dockerfile: fix building on Bookworm (diff) | |
download | knot-f4a0f9e4e7d981028ef523bb351df77da82b69eb.tar.xz knot-f4a0f9e4e7d981028ef523bb351df77da82b69eb.zip |
Dockerfile: fix building using buildx
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index 5d048eb7a..0e2c256dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -79,7 +79,13 @@ RUN apt-get update && \ install -o knot -g knot -d /config /rundir /storage # Copy artifacts -COPY --from=builder /tmp/knot-install/ / +# `COPY --from=builder /tmp/knot-install/ /` doesn't work with DOCKER_BUILDKIT=1 under buildx +COPY --from=builder /tmp/knot-install/bin/ /bin/ +COPY --from=builder /tmp/knot-install/config/ /config/ +COPY --from=builder /tmp/knot-install/include/ /include/ +COPY --from=builder /tmp/knot-install/lib/ /lib/ +COPY --from=builder /tmp/knot-install/sbin/ /sbin/ +COPY --from=builder /tmp/knot-install/share/ /share/ # Expose port EXPOSE 53/UDP |