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
Build and Upload Binaries / build-and-upload (push) Successful in 7m49s
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user