Skip to content

Instantly share code, notes, and snippets.

@Hexcede
Last active August 12, 2022 06:09
Show Gist options
  • Save Hexcede/bd18f5780df9c0bca4d34d0a039482d4 to your computer and use it in GitHub Desktop.
Save Hexcede/bd18f5780df9c0bca4d34d0a039482d4 to your computer and use it in GitHub Desktop.
Building wine-tkg in Docker for Ubuntu
  1. Clone https://github.com/Frogging-Family/wine-tkg-git into an empty folder. Set up the configuration how you wish (make sure to use debuntu as well).
  2. Drop the build.sh script adjacent to the top wine-tkg-git folder and run it.
  3. (Optionally) delete the docker container with docker container rm wine-build once you're done (if you don't care about ccache or inputting your timezone again).
  4. Profit.
#!/bin/bash
_build="cd /wine-build/wine-tkg-git/wine-tkg-git && ./non-makepkg-build.sh"
docker start wine-build || (docker run --name wine-build -it -v $(realpath .):/wine-build ubuntu:focal "bash" -c "dpkg --add-architecture i386 && apt update && $_build")
docker exec -it wine-build "bash" -c "$_build"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment