Skip to content

Commit 163a821

Browse files
committed
build(su): amd binaries
1 parent 6e47a13 commit 163a821

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

β€Žservers/su/README.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ To build with docker on your local machine delete all su images and containers i
9797

9898
```sh
9999
docker system prune -a
100-
docker build --target builder -t su-binary .
100+
docker buildx build --platform linux/amd64 --target builder -t su-binary .
101101
docker create --name temp-container su-binary
102102
docker cp temp-container:/usr/src/su/target/release/su .
103103
```
@@ -173,7 +173,7 @@ Over time the su database has evolved. It started as only Postgres then went to
173173
Building the cli binary, delete all su images and containers if you have previously run this, then run
174174
```sh
175175
docker system prune -a
176-
docker build --target cli-builder -t cli-binary -f DockerfileCli .
176+
docker buildx build --platform linux/amd64 --target cli-builder -t cli-binary -f DockerfileCli .
177177
docker create --name temp-container-cli cli-binary
178178
docker cp temp-container-cli:/usr/src/cli/target/release/cli .
179179
```

β€Žservers/su/cliβ€Ž

1.16 MB
Binary file not shown.

β€Žservers/su/suβ€Ž

1.07 MB
Binary file not shown.

0 commit comments

Comments
Β (0)