diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..ed99021 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,5 @@ +.devcontainer +.git* +*.md +action.yml +LICENSE diff --git a/Containerfile b/Containerfile index e0be396..00708e0 100644 --- a/Containerfile +++ b/Containerfile @@ -16,10 +16,12 @@ ENV WEB_UI="false" ENV SECURE_BOOT_KEY_URL="" ENV ENROLLMENT_PASSWORD="ublue-os" -COPY / /isogenerator +COPY ./ /isogenerator WORKDIR /isogenerator -RUN dnf install -y make && make install-deps +RUN dnf install -y make && \ + make install-deps && \ + dnf clean all VOLUME /isogenerator/output