From bf7be7fb65317c1282aab171a67fe008e2e03cc0 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sun, 14 Aug 2022 00:01:56 +0300 Subject: [PATCH] Fix build failing due to multistage docker COPY issue The current Dockerfile fails on build with error "Docker: failed to export image: failed to create image: failed to get layer" Adding "RUN true" fixes the issue. See issue resolution here: https://stackoverflow.com/questions/51115856/docker-failed-to-export-image-failed-to-create-image-failed-to-get-layer --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index aa0975158..f29e28184 100644 --- a/Dockerfile +++ b/Dockerfile @@ -162,7 +162,7 @@ RUN /tmp/install-python-splash-deps.sh # FIXME: use virtualenv COPY --from=qt5-builder /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages COPY --from=qt5-builder /usr/local/lib/python3.6/dist-packages /usr/local/lib/python3.6/dist-packages - +RUN true COPY . /app RUN pip3 install /app ENV PYTHONPATH $PYTHONPATH:/app