Skip to content

rocketblend/cross-wails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cross Wails

Docker Image for Cross Compiling Wails Applications

Note

This repository serves as a fork of the original Cross Wails repository. It was detached from the original due to PRs defaulting to that repository, and adjustments being needed to tailor it for our needs.

Usage

You can utilize this Docker image as a base image in your own Dockerfile:

FROM ghcr.io/rocketblend/cross-wails:v2.10.1 as base

# Use `wails build` to build your application

For an illustrative example of building Wails applications for Linux AMD64, and Windows AMD64, as well as CI/CD workflows, you can refer to the RocketBlend Desktop project.

Note

Due to changes with libwebkit2gtk-4.0-dev no longer allowing multiple architectures to be install at the same time, I've remove support for ARM (for now).

Details

  • Image can cross-compile Wails applications that depend on CGO
    • Supports cross compiling to Linux AMD64 and Windows AMD64
    • You can also use NSIS for creating Windows installers
  • It doesn't support cross compiling to MacOS because Wails doesn't support it yet
  • The image tag is the same as Wails version, e.g. v2.10.1
  • The image is adopted from goreleaser-cross-toolchain but with stripped down dependencies to minimize the image size and build time
    • It is still a bit over 4GB though :(

For additional insights, you can visit the original author's blog, where they delve into the background story behind this repository.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •