Note that RPi images are now available on Docker Hub
parent
65dc7c2fda
commit
77b8ec5c58
1 changed files with 4 additions and 30 deletions
|
@ -1,40 +1,14 @@
|
||||||
# For the latest release:
|
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:
|
||||||
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`:
|
|
||||||
|
|
||||||
```diff
|
- 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)
|
||||||
--- a/docker-compose.yml
|
|
||||||
+++ b/docker-compose.yml
|
|
||||||
@@ -7,7 +7,8 @@ version: '2'
|
|
||||||
services:
|
|
||||||
|
|
||||||
server:
|
- 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)):
|
||||||
- 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:
|
|
||||||
```bash
|
```bash
|
||||||
$ wget http://ftp.de.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.5.1-1_armhf.deb
|
$ 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
|
$ 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:
|
# For release version 2.3 or earlier:
|
||||||
|
|
||||||
|
|
Reference in a new issue