mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +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,7 +3,7 @@
|
||||
{
|
||||
"name": "Ubuntu",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"dockerfile": "Ubuntu.Dockerfile",
|
||||
"context": ".."
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user