Dockerfile RawHistoryFolder

1# syntax=docker/dockerfile:1
2FROM archlinux:latest
3RUN --mount=type=cache,target=/var/cache/pacman/pkg,sharing=locked \
4    pacman -Sy --noconfirm archlinux-keyring \
5    && pacman -Syu --noconfirm --needed \
6      firefox foot btop fastfetch eza mousepad \
7      ttf-jetbrains-mono-nerd noto-fonts noto-fonts-emoji dbus mesa vulkan-radeon \
8      tesseract tesseract-data-eng at-spi2-core python
9# Arch's btop carries file capabilities that rootless Docker cannot grant.
10RUN install -m 0755 /usr/bin/btop /usr/local/bin/btop
11# Mousepad warns about running as root, so it runs as demo (uid 1000).
12RUN useradd -m -u 1000 demo && mkdir -p /root/firefox /root/.config/btop /run/wl && chmod 0755 /run/wl
13COPY firefox/user.js /root/firefox/user.js
14COPY firefox/userChrome.css /root/firefox/chrome/userChrome.css
15COPY foot.ini /root/.config/foot/foot.ini
16COPY btop.conf /root/.config/btop/btop.conf
17COPY btop-vesper.theme /root/.config/btop/themes/vesper.theme
18COPY demo-entry demo-hint-label /usr/local/bin/
19# One config for both users: the compositor (root) reads it, Mousepad (demo) edits it.
20COPY config /home/demo/config
21COPY mousepad.keyfile /home/demo/.config/glib-2.0/settings/keyfile
22RUN chown -R demo:demo /home/demo
23ENV HOME=/root XDG_RUNTIME_DIR=/run/wl WAYLAND_DISPLAY=wayland-0 \
24    GTK_THEME=Adwaita:dark ADW_DEBUG_COLOR_SCHEME=prefer-dark \
25    DBUS_SESSION_BUS_ADDRESS=unix:path=/run/wl/bus \
26    MOZ_ENABLE_WAYLAND=1 LIBGL_ALWAYS_SOFTWARE=1 COLORTERM=truecolor
27# LIBGL_ALWAYS_SOFTWARE applies to the apps' OpenGL, not to the compositor (Vulkan).
28WORKDIR /root
29# Everything runs as the container's root, which rootless Docker maps to the
30# host user, so the bind-mounted work directory stays owned by the host user.
31# The compositor (bind-mounted at /usr/local/bin/neferwl) and the apps share one
32# session bus, which AT-SPI needs. The compositor renders on the host GPU through
33# /dev/dri: vulkan-radeon is its Mesa driver here (swap in vulkan-intel for an
34# Intel GPU). Software Vulkan (lvp) cannot export the sync files hint scans need.
35ENTRYPOINT ["/usr/local/bin/demo-entry"]

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 25

Tags 10

↑↓ moveenter openesc close