Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions internal/recipes/bundled/devtools/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ setup-apkrepos -c -1

# build-base is Alpine's meta-package for gcc/make/libc-dev: the equivalent of
# Debian's build-essential. Alpine has no package called "build-essential".
apk add git curl ca-certificates build-base vim tmux less
# --wait 60 makes apk wait up to 60s for the lock instead of failing with
# exit 99 when another apk run holds it.
apk --wait 60 add git curl ca-certificates build-base vim tmux less

# Alpine's default shell is ash and there is no bash unless asked for; scripts
# copied in from elsewhere routinely assume it, so it is part of a baseline.
apk add bash
apk --wait 60 add bash

git --version
echo "devtools installed: git, curl, build-base (gcc/make), vim, tmux, less, bash"
Expand Down
4 changes: 3 additions & 1 deletion internal/recipes/bundled/docker/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ setup-apkrepos -c -1

# Verified against pkgs.alpinelinux.org: both are in community, and compose is
# a SEPARATE package from docker (docker alone gives you no `docker compose`).
apk add docker docker-cli-compose
# --wait 60 makes apk wait up to 60s for the lock instead of failing with
# exit 99 when another apk run holds it.
apk --wait 60 add docker docker-cli-compose

rc-update add docker default
rc-service docker start
Expand Down
4 changes: 3 additions & 1 deletion internal/recipes/bundled/tailscale/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ set -e
# indexes, so no separate `apk update`.
setup-apkrepos -c -1

apk add tailscale
# --wait 60 makes apk wait up to 60s for the lock instead of failing with
# exit 99 when another apk run holds it.
apk --wait 60 add tailscale

rc-update add tailscale default
rc-service tailscale start
Expand Down
4 changes: 3 additions & 1 deletion internal/recipes/bundled/xfce/install-alpine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ set -e
setup-apkrepos -c -1

setup-xorg-base
apk add xfce4 xfce4-terminal dbus-x11
# --wait 60 makes apk wait up to 60s for the lock instead of failing with
# exit 99 when another apk run holds it.
apk --wait 60 add xfce4 xfce4-terminal dbus-x11

# Xorg reads its input devices from udev. Alpine boots mdev by default, which
# never feeds Xorg, so libinput finds no mouse or keyboard and the desktop
Expand Down
Loading