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.
This commit is contained in:
Gianluca Zuccarelli 2021-11-05 12:12:10 +00:00 committed by Ondřej Budai
parent c0ceede084
commit cfa8d7a636

View file

@ -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"]