build appimage in compose

This commit is contained in:
2022-02-22 14:26:01 +01:00
parent 76239b289c
commit b64e9e766c
2 changed files with 10 additions and 2 deletions

View File

@@ -12,3 +12,11 @@ gls = { version = "0.1" }
serde = { version = "1.0", features = ["derive"]}
serde_json = { version = "1.0" }
derive_builder = "0.10"
[package.metadata.appimage]
auto_link = true
auto_link_exclude_list = [
"libc.so*",
"libdl.so*",
"libpthread.so*",
]

View File

@@ -1,8 +1,8 @@
version: "3"
services:
gtk4-rs:
image: ghcr.io/13hannes11/gtk4-rs-docker:latest
image: ghcr.io/13hannes11/gtk4-rs-docker:latest-appimage
volumes:
- .:/mnt:z
command: sh -c "cargo build"
command: sh -c "cargo appimage"