From cfa8d7a636123e0d75b88708feb3be616022f581 Mon Sep 17 00:00:00 2001 From: Gianluca Zuccarelli Date: Fri, 5 Nov 2021 12:12:10 +0000 Subject: [PATCH] distribution: worker dnf-json & cache dir Since the depsolving has been moved to the worker, the Dockerfile for the worker needed to have the dnf-json executable. Additionally there was a missing cache directory. --- distribution/Dockerfile-worker | 2 ++ 1 file changed, 2 insertions(+) diff --git a/distribution/Dockerfile-worker b/distribution/Dockerfile-worker index 4c4376828..663b5f87b 100644 --- a/distribution/Dockerfile-worker +++ b/distribution/Dockerfile-worker @@ -10,6 +10,8 @@ RUN mkdir -p "/etc/osbuild-composer/" RUN mkdir -p "/run/osbuild-composer/" RUN mkdir -p "/var/cache/osbuild-worker/" RUN mkdir -p "/var/lib/osbuild-composer/" +RUN mkdir -p "/var/cache/osbuild-composer/output" COPY --from=builder /opt/app-root/src/go/bin/osbuild-worker /usr/libexec/osbuild-composer/ +COPY ./dnf-json /usr/libexec/osbuild-composer/ ENTRYPOINT ["/usr/libexec/osbuild-composer/osbuild-worker"]