docs(development): Remove references to deprecated files, add info on DOCKER_BUILDKIT (#4084)

This commit is contained in:
cyb3rd0g1 2022-08-01 04:47:23 -04:00 committed by GitHub
parent 1984eae813
commit e5b6c3748d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,15 +21,12 @@ If you get the error `Failed to fetch https://repo.goreleaser.com/apt/Packages
sudo apt install ca-certificates sudo apt install ca-certificates
``` ```
### env variables
You can use the default vars provided in [this .env-file](../build/local/local.env) or create your own and update the paths in the [docker compose file](../build/local/docker-compose-local.yml).
## Local Build ## Local Build
Simply run goreleaser to build locally. This will generate all the required files, such as angular and grpc automatically. Simply run goreleaser to build locally. This will generate all the required files, such as angular and grpc automatically.
```sh ```sh
export DOCKER_BUILDKIT=1
goreleaser build --snapshot --rm-dist --single-target goreleaser build --snapshot --rm-dist --single-target
``` ```