v0.1.0 cbb8ad6

Dockerfile RawHistoryFolder

1# SPDX-License-Identifier: MIT
2#
3# ermite-runner-ubuntu-24.04: the minimal CI-1 runner image. The same
4# filesystem is used as an OCI image (container isolation) and exported to an
5# ext4 base image (vm isolation) by scripts/build-image.sh. It holds the OS
6# only: the runner executable is attached by the host at start (never baked
7# in), so a runner upgrade does not need an image rebuild.
8FROM ubuntu:24.04
9
10ARG DEBIAN_FRONTEND=noninteractive
11
12RUN apt-get update \
13 && apt-get install -y --no-install-recommends \
14      bash build-essential ca-certificates curl e2fsprogs git gnupg iproute2 \
15      iptables jq kmod procps python-is-python3 python3 sudo tzdata unzip xz-utils zip \
16 && rm -rf /var/lib/apt/lists/*
17
18# Docker Engine from Docker's apt repository (the job gets its own daemon).
19RUN install -m 0755 -d /etc/apt/keyrings \
20 && curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc \
21 && chmod a+r /etc/apt/keyrings/docker.asc \
22 && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu noble stable" \
23      > /etc/apt/sources.list.d/docker.list \
24 && apt-get update \
25 && apt-get install -y --no-install-recommends \
26      docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin \
27 && rm -rf /var/lib/apt/lists/*
28
29# Like GitHub-hosted runners: user "runner" (uid 1001), passwordless sudo,
30# member of "docker", with the job layout directories.
31RUN useradd --create-home --uid 1001 --shell /bin/bash runner \
32 && usermod -aG docker runner \
33 && echo 'runner ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/runner \
34 && chmod 0440 /etc/sudoers.d/runner \
35 && mkdir -p /home/runner/work /opt/hostedtoolcache /opt/ermite \
36 && chown -R runner:runner /home/runner /opt/hostedtoolcache
37
38ENV RUNNER_TOOL_CACHE=/opt/hostedtoolcache \
39    LANG=C.UTF-8
40
41# The runner executable is bind-mounted (container) or provided by the init
42# disk (vm) here; its init subcommand starts the job's own Docker daemon.
43ENTRYPOINT ["/opt/ermite/ermite-runner", "init"]

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 4

Tags 11

↑↓ moveenter openesc close