Skip to content

Commit

Permalink
docs: Add instructions for quick local build using Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
jhf committed Oct 29, 2024
1 parent 3827da7 commit 1415d36
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ See all installation instructions in the [repo wiki](https://github.com/supabase
| Supabase Postgres: PostgREST Bundle | Coming Soon | Coming Soon | Coming Soon |
| Supabase Postgres: Complete Bundle | Coming Soon | Coming Soon | Coming Soon |

### Quick Build
### Quick Cloud Build

Uses Amazon build cluster.

```bash
$ time packer build -timestamp-ui \
Expand All @@ -90,6 +92,19 @@ $ time packer build -timestamp-ui \
amazon-arm.json
```

### Quick Local Build

Uses docker
```bash
docker buildx build \
$(yq 'to_entries | map(select(.value|type == "!!str")) | map(" --build-arg " + .key + "=" + .value) | join("")' 'ansible/vars.yml') \
--target production \
--tag 'custom_supabase_postgres' \
--platform 'linux/arm64/v8,linux/amd64' \
--load \
.
```

## Motivation

- Make it fast and simple to get started with Postgres.
Expand Down

0 comments on commit 1415d36

Please sign in to comment.