-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I think this will be a benefit overall, it gives us a reproducible build environment that can be used in or outside of GitHub Actions. Also, it will let us build in versions of Ubuntu/Debian other than what GitHub Actions supports for runners, and possibly even other architectures with Qemu.
- Loading branch information
Showing
4 changed files
with
55 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
ARG UBUNTU_VERSION="24.10" | ||
FROM ubuntu:${UBUNTU_VERSION} | ||
|
||
# Install Build Tools | ||
RUN DEBIAN_FRONTEND="noninteractive" apt-get -qq update && \ | ||
apt-get -qq -y install \ | ||
build-essential \ | ||
libbz2-dev \ | ||
libonig-dev \ | ||
lintian \ | ||
lsb-release \ | ||
pandoc \ | ||
wget | ||
|
||
# Install Minisign | ||
# https://jedisct1.github.io/minisign/ | ||
RUN wget -q "https://github.com/jedisct1/minisign/releases/download/0.11/minisign-0.11-linux.tar.gz" && \ | ||
tar -xzf minisign-0.11-linux.tar.gz && \ | ||
mv minisign-linux/x86_64/minisign /usr/local/bin && \ | ||
rm -r minisign-linux | ||
|
||
# Install zig | ||
# https://ziglang.org/download/ | ||
ARG ZIG_VERSION="0.13.0" | ||
RUN wget -q "https://ziglang.org/download/$ZIG_VERSION/zig-linux-x86_64-$ZIG_VERSION.tar.xz" && \ | ||
tar -xf "zig-linux-x86_64-$ZIG_VERSION.tar.xz" -C /opt && \ | ||
rm "zig-linux-x86_64-$ZIG_VERSION.tar.xz" && \ | ||
ln -s "/opt/zig-linux-x86_64-$ZIG_VERSION/zig" /usr/local/bin/zig | ||
|
||
# Install Ghostty Dependencies | ||
RUN DEBIAN_FRONTEND="noninteractive" apt-get -qq update && \ | ||
apt-get -qq -y install \ | ||
libadwaita-1-dev \ | ||
libgtk-4-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.