feat: introduce custom wails-builder Docker image to optimize CI build speed and consistency
Build and Upload Binaries / build-and-upload (push) Successful in 7m49s

This commit is contained in:
2026-06-09 12:14:52 +01:00
parent 0e32f6b57d
commit b711428311
3 changed files with 54 additions and 22 deletions
+22
View File
@@ -0,0 +1,22 @@
FROM golang:1.26.4-bookworm
# Install required system dependencies for Wails, GTK, WebKit, and MinGW for cross-compiling
RUN apt-get update && apt-get install -y \
curl \
gcc \
mingw-w64 \
libgtk-3-dev \
libwebkit2gtk-4.1-dev \
&& rm -rf /var/lib/apt/lists/*
# Install Node.js 22
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
&& apt-get install -y nodejs \
&& rm -rf /var/lib/apt/lists/*
# Install Wails CLI
RUN go install github.com/wailsapp/wails/v2/cmd/wails@latest
ENV PATH="$PATH:/go/bin"
WORKDIR /workspace