summaryrefslogtreecommitdiffstats
path: root/docker/README.md
diff options
context:
space:
mode:
authorLibravatar Richard <richardsoncusto@gmail.com>2021-11-10 19:20:16 -0300
committerLibravatar Richard <richardsoncusto@gmail.com>2022-01-19 17:40:17 -0300
commit46fb27b104fda99640cca625934ababeca8fd19a (patch)
tree4907fd2020c169f2d57de9ba72e4074e87939707 /docker/README.md
parent01f67a2c1f36a90e45f0ff21266bc41152f0c8d5 (diff)
downloadiced-46fb27b104fda99640cca625934ababeca8fd19a.tar.gz
iced-46fb27b104fda99640cca625934ababeca8fd19a.tar.bz2
iced-46fb27b104fda99640cca625934ababeca8fd19a.zip
Update documentation for built-in renderers
Diffstat (limited to 'docker/README.md')
-rw-r--r--docker/README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/docker/README.md b/docker/README.md
new file mode 100644
index 00000000..cfb4bab1
--- /dev/null
+++ b/docker/README.md
@@ -0,0 +1,17 @@
+## Build
+To use `cross` to compile for Raspberry Pi you first need to build the docker image.
+Use these commands to build the images needed.
+
+**NOTE:** Run these commands inside the `docker` folder. This is needed since `docker`
+uses surrounding directories as "context" for building the image, which means it'll
+copy the entire `target` directory.
+
+### Raspberry Pi 2/3/4 (32 bits)
+```
+$ docker build -t iced-rs/armv7 -f Dockerfile.armv7-unknown-linux-gnueabihf .
+```
+
+### Raspberry Pi 3/4 (64 bits)
+```
+$ docker build -t iced-rs/aarch64 -f Dockerfile.aarch64-unknown-linux-gnu .
+``` \ No newline at end of file