1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-11-23 02:40:11 +00:00

Updated Build (markdown)

Harvey Tindall 2021-03-08 17:26:47 +00:00
parent 0f2957379a
commit 9913c9abd4

@ -1,5 +1,5 @@
## Docker ## Docker
For multiarch support, the provided `Dockerfile` uses Docker [buildx](https://github.com/docker/buildx), which means you can't just build it with your regular `docker build`. To use it, you need to enable experimental features in `/etc/docker/daemon.json`, `$HOME/.docker/config.json` or by setting the environment variable `DOCKER_CLI_EXPERIMENTAL=enabled`. For multiarch support, the provided `Dockerfile` uses Docker [buildx](https://github.com/docker/buildx), which means you can't just build it with your regular `docker build`. To use it, you need to enable experimental features in `/etc/docker/daemon.json` or `$HOME/.docker/config.json` or instead by setting the environment variable `DOCKER_CLI_EXPERIMENTAL=enabled` to temporarily enable it.
```shell ```shell
⟩ cat /etc/docker/daemon.json ⟩ cat /etc/docker/daemon.json
{ {