Build multi-arch release images without emulation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7c3657d015
commit
0984af25bc
6 files changed
+45
-17
No files matched your search
@@ -55,25 +55,23 @@ flowchart LR
|
||||
|
||||
## Quick start
|
||||
|
||||
There is no public image yet; build it from source. No environment variable is required.
|
||||
Images for `linux/amd64` and `linux/arm64` (e.g. Raspberry Pi 4/5 with a 64-bit OS) are
|
||||
published in the author's Gitea registry; no login is needed to pull. No environment variable
|
||||
is required.
|
||||
|
||||
```bash
|
||||
git clone <repository-url> flypaper
|
||||
cd flypaper
|
||||
docker build -t flypaper .
|
||||
docker run -d --name flypaper --restart unless-stopped \
|
||||
-p 8080:8080 -p 127.0.0.1:8081:8081 \
|
||||
-v flypaper-data:/data \
|
||||
flypaper
|
||||
gitea.anticarnist.de/tom/flypaper:latest
|
||||
```
|
||||
|
||||
Or with Compose, in a `compose.yaml` next to the `Dockerfile`:
|
||||
Or with Compose:
|
||||
|
||||
```yaml
|
||||
services:
|
||||
flypaper:
|
||||
build: .
|
||||
image: flypaper:local
|
||||
image: gitea.anticarnist.de/tom/flypaper:latest
|
||||
container_name: flypaper
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
@@ -86,6 +84,9 @@ volumes:
|
||||
flypaper-data:
|
||||
```
|
||||
|
||||
You can also build the image yourself: clone the repository and replace the `image:` line with
|
||||
`build: .`, or run `docker build -t flypaper .`.
|
||||
|
||||
- Dashboard: <http://localhost:8081>. On the first visit Flypaper asks you to set the admin
|
||||
password; afterwards you log in with it and can change it on the settings page.
|
||||
- See the trap in action:
|
||||
@@ -118,7 +119,8 @@ first log line.
|
||||
| `:X.Y`, `:X` | The newest release of that minor or major line. |
|
||||
| `:main` | Development build of every commit on `main`. May break. |
|
||||
|
||||
There is no public image yet. To build a specific release from source:
|
||||
Pull a fixed version with `docker pull gitea.anticarnist.de/tom/flypaper:0.1.0`. To build a
|
||||
specific release from source instead:
|
||||
|
||||
```bash
|
||||
git checkout v0.1.0
|
||||
|
||||
Reference in new issue
Block a user