4 Commits

4 changed files with 8 additions and 3 deletions

View File

@@ -14,3 +14,8 @@ auto_link_exclude_list = [
"libdl.so*", "libdl.so*",
"libpthread.so*", "libpthread.so*",
] ]
[[bin]] # fix for cargo appimage not finding the binary
name = "adwaita-demo" # crate name
path = "src/main.rs"

View File

@@ -1,6 +1,6 @@
FROM fedora:latest FROM fedora:latest
ENV RUST_VERSION=1.58.1 ENV RUST_VERSION=1.64.0
RUN dnf install gtk4-devel gcc libadwaita-devel -y RUN dnf install gtk4-devel gcc libadwaita-devel -y
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y RUN curl https://sh.rustup.rs -sSf | sh -s -- -y

View File

@@ -1,7 +1,7 @@
version: "3" version: "3"
services: services:
rust-gtk-appimage: rust-gtk-appimage:
build: . image: ghcr.io/13hannes11/gtk4-rs-docker:latest-appimage
volumes: volumes:
- ../adwaita-demo:/mnt:z - ../adwaita-demo:/mnt:z
command: /bin/bash -c "cargo appimage" command: /bin/bash -c "cargo appimage"

View File

@@ -1,5 +1,5 @@
FROM fedora:latest FROM fedora:latest
ENV RUST_VERSION=1.58.1 ENV RUST_VERSION=1.64.0
RUN dnf install gtk4-devel gcc libadwaita-devel -y RUN dnf install gtk4-devel gcc libadwaita-devel -y