-
-
Notifications
You must be signed in to change notification settings - Fork 56
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Both latest and 0.14.6 are failing when using copy. For example:
Dockerfile:4
--------------------
2 |
3 | # Copy files
4 | >>> COPY . /var/www/
5 | # COPY etc/apache2/mods-enabled/mpm_prefork.conf /etc/apache2/mods-enabled/mpm_prefork.conf
6 | COPY etc/unit/.unit.conf.json /docker-entrypoint.d/.unit.conf.json
--------------------
error: failed to solve: failed to compute cache key: failed to copy: httpReadSeeker.ReadAt: failed to open at offset 1048576: gzip: invalid header
FATA[0006] failed to build: build: exit status 1
FATA[0006] failed to run task: exit status 1
Things work fine if I use an older image like 0.14.4 or 0.14.5.
Reproduction steps
- Create a Dockerfile with that copies files into the image.
- Try and build using this resource.
- See the above error.
...
Expected behavior
That builds do not fail with the invalid gzip header.
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working