1
1
Fork
You've already forked alpine-dev-setup
0
A collection of POSIX shell scripts to easily setup an Alpine chroot.
  • Shell 100%
Find a file
Frantic 686b9e70b4
Use https instead of http for mirror
Fixes download issues on some networks +
Improves security
Signed-off-by: Frantic <frantic@tutanota.de>
2025年02月19日 09:53:24 +11:00
scripts Add more scripts, improve current ones 2025年02月18日 17:00:47 +11:00
COPYING Add license and README 2025年02月14日 23:39:34 +11:00
create-chroot.sh Use https instead of http for mirror 2025年02月19日 09:53:24 +11:00
enter-chroot.sh Improve safety and fix bugs 2025年02月18日 16:29:30 +11:00
README.md Fix spelling mistake 2025年02月18日 17:22:04 +11:00

alpine-dev-setup

A collection of POSIX shell scripts to easily setup an Alpine chroot.

How to begin?

Run the following commands as root or sudo

  1. git clone https://git.paranoia.wf/frantic/alpine-dev-setup --depth 1 && cd alpine-dev-setup

  2. ./create-chroot.sh 'DIRECTORY_TO_STORE' 'ARCHITECTURE' 'BRANCH/VERSION'

    (example. ./create-chroot.sh './alpine-chroot/' 'x86_64' 'latest-stable')

  3. ./enter-chroot.sh 'DIRECTORY_OF_CHROOT'

Easy way to setup development tools

When in chroot, you can easily setup a development environment by running your choice of script(s) (It's in PATH already):

install-dev-utils-minimal Installs simple development utils.

install-dev-utils-c Installs C/C++ toolchains and development utils.

install-dev-utils-python Installs Python3, pip, and the requests module.

install-dev-utils-java Installs many different versions of OpenJDK.

install-dev-utils-lua Installs many different versions of Lua, installs LuaJIT, and LuaRocks.

How to fix: ERROR: unable to select packages: masked in: @testing

This happens when you try to install a package from the testing repository.

Be careful when mixing stable and testing packages, as potential issues may arise.

You can fix this by appending @testing to the end of the package name.

(example. apk add neofetch@testing)

License

Licensed under CC0 1.0 (Public Domain)