From 77b8ec5c58abb7cf67265e507792c3d9f5ef89ce Mon Sep 17 00:00:00 2001 From: Shyam Sunder Date: Sun, 19 Sep 2021 12:25:50 -0400 Subject: [PATCH] Note that RPi images are now available on Docker Hub --- ...-Raspberry-Pi-Support-for-Docker-builds.md | 34 +++---------------- 1 file changed, 4 insertions(+), 30 deletions(-) diff --git a/ARM-and-Raspberry-Pi-Support-for-Docker-builds.md b/ARM-and-Raspberry-Pi-Support-for-Docker-builds.md index 7f4b166..e444fd1 100644 --- a/ARM-and-Raspberry-Pi-Support-for-Docker-builds.md +++ b/ARM-and-Raspberry-Pi-Support-for-Docker-builds.md @@ -1,40 +1,14 @@ -# For the latest release: -Current versions of szurubooru should work out-of-box with ARM architectures. You will only need to build the repository yourself, instead of retrieving the prebuilt images hosted on Docker Hub. To do so, make the following change to `docker-compose.yml` and run `docker-compose build`: +As of commit [c3b8137](https://github.com/rr-/szurubooru/commit/c3b81371d83c3daf31aeeb821d4865e232cd6b0d), Docker Hub now hosts images for `linux/amd64`, `linux/arm/v7`, and `linux/arm64`, meaning no changes *should* be needed to the install instructions for szurubooru to work on a Raspberry Pi. Note the following issues reported by users however: -```diff ---- a/docker-compose.yml -+++ b/docker-compose.yml -@@ -7,7 +7,8 @@ version: '2' - services: +- While the `postgres:11-alpine` recommended by this project should work, one user found better success using Postgres (v13). See [#410](https://github.com/rr-/szurubooru/issues/410) - server: -- image: szurubooru/server:latest -+ build: -+ context: ./server - depends_on: - - sql - environment: -@@ -26,7 +27,8 @@ services: - - "./server/config.yaml:/opt/app/config.yaml" - - client: -- image: szurubooru/client:latest -+ build: -+ context: ./client - depends_on: - - server - environment: -``` - -You may also need to use a later version of Postgres (v13). See [#410](https://github.com/rr-/szurubooru/issues/410) - -Alpine 3.13 isn't compatible by default with Raspbian and requires an update to libseccomp2: +- Alpine 3.13 isn't compatible by default with Raspbian and requires an update to `libseccomp2` (See [here](https://github.com/docker/for-linux/issues/1196#issuecomment-816600988)): ```bash $ wget http://ftp.de.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.5.1-1_armhf.deb $ dpkg -i libseccomp2_2.5.1-1_armhf.deb ``` -https://github.com/docker/for-linux/issues/1196#issuecomment-816600988 +- If there is demand for additional build platforms to be included, please open an issue # For release version 2.3 or earlier: