|
Frantic
686b9e70b4
Fixes download issues on some networks + Improves security Signed-off-by: Frantic <frantic@tutanota.de> |
||
|---|---|---|
| scripts | Add more scripts, improve current ones | |
| COPYING | Add license and README | |
| create-chroot.sh | Use https instead of http for mirror | |
| enter-chroot.sh | Improve safety and fix bugs | |
| README.md | Fix spelling mistake | |
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
-
git clone https://git.paranoia.wf/frantic/alpine-dev-setup --depth 1 && cd alpine-dev-setup -
./create-chroot.sh 'DIRECTORY_TO_STORE' 'ARCHITECTURE' 'BRANCH/VERSION'(example.
./create-chroot.sh './alpine-chroot/' 'x86_64' 'latest-stable') -
./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)