mirror of
https://github.com/servo/servo
synced 2026-04-28 02:19:14 +02:00
devcontainer: Add a dockerignore (#43127)
Rename the dockerfile and add a dockerignore. This reduces the size of the build-context greatly. Renaming is a preparation for later adding more possible dockerfiles (e.g. fedora based etc). We choose the filename based `.dockerignore` files over a `.dockerignore` in the root folder mainly to reduce clutter in the root folder. This addresses the problem of large build context raised on zulip by @glyn. Testing: Manually tested by building the image locally. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
committed by
GitHub
parent
b9b95e34a2
commit
4fa57ff0ff
3
.devcontainer/Ubuntu.Dockerfile.dockerignore
Normal file
3
.devcontainer/Ubuntu.Dockerfile.dockerignore
Normal file
@@ -0,0 +1,3 @@
|
||||
*
|
||||
!/.devcontainer
|
||||
!/python/servo/platform/linux_packages
|
||||
Reference in New Issue
Block a user