detached 82ecadc

chore(docker): add multiarch GTK/WebKit dev packages for cross-compilation

commit
82ecadcfd06c76e3f8b1384e645b8cbbe799d3b5
author
bnema · · 2025-10-16 05:26 UTC
parent
5db313b
signature
GPG Unverified2B82207D370127A0 The key is unknown
1 file · +17 -2
M Dockerfile.release +17 -2
@@ -2,9 +2,24 @@
22 # Uses goreleaser-cross which includes cross-compilers for CGO builds
33 FROM ghcr.io/goreleaser/goreleaser-cross:latest
44
5-# Install Node.js and npm for building frontend
5+# Enable multiarch support for cross-compilation
6+RUN dpkg --add-architecture arm64
7+
8+# Install Node.js, npm, pkg-config, and WebKitGTK/GTK4 development packages for both amd64 and arm64
69 RUN apt-get update && \
7- apt-get install -y curl && \
10+ apt-get install -y \
11+ curl \
12+ pkg-config \
13+ libwebkit2gtk-6.0-dev \
14+ libwebkit2gtk-6.0-dev:arm64 \
15+ libgtk-4-dev \
16+ libgtk-4-dev:arm64 \
17+ libglib2.0-dev \
18+ libglib2.0-dev:arm64 \
19+ libgstreamer1.0-dev \
20+ libgstreamer1.0-dev:arm64 \
21+ libgstreamer-plugins-base1.0-dev \
22+ libgstreamer-plugins-base1.0-dev:arm64 && \
823 curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
924 apt-get install -y nodejs && \
1025 apt-get clean && \
@@ -2,9 +2,24 @@
2 # Uses goreleaser-cross which includes cross-compilers for CGO builds2 # Uses goreleaser-cross which includes cross-compilers for CGO builds
3 FROM ghcr.io/goreleaser/goreleaser-cross:latest3 FROM ghcr.io/goreleaser/goreleaser-cross:latest
4 4
5-# Install Node.js and npm for building frontend5+# Enable multiarch support for cross-compilation
6+RUN dpkg --add-architecture arm64
7+
8+# Install Node.js, npm, pkg-config, and WebKitGTK/GTK4 development packages for both amd64 and arm64
6 RUN apt-get update && \9 RUN apt-get update && \
7- apt-get install -y curl && \10+ apt-get install -y \
11+ curl \
12+ pkg-config \
13+ libwebkit2gtk-6.0-dev \
14+ libwebkit2gtk-6.0-dev:arm64 \
15+ libgtk-4-dev \
16+ libgtk-4-dev:arm64 \
17+ libglib2.0-dev \
18+ libglib2.0-dev:arm64 \
19+ libgstreamer1.0-dev \
20+ libgstreamer1.0-dev:arm64 \
21+ libgstreamer-plugins-base1.0-dev \
22+ libgstreamer-plugins-base1.0-dev:arm64 && \
8 curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \23 curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
9 apt-get install -y nodejs && \24 apt-get install -y nodejs && \
10 apt-get clean && \25 apt-get clean && \

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close