All Projects → alpinelinux → Alpine Chroot Install

alpinelinux / Alpine Chroot Install

Licence: mit
Install Alpine Linux in chroot with a breeze. Build ARM on Travis CI or any other x86_64 CI.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Alpine Chroot Install

Trytravis
Send local git changes to Travis CI without commits or pushes.
Stars: ✭ 131 (-1.5%)
Mutual labels:  ci, travis-ci
build-status
Emacs minor mode that monitors and shows a buffer's build status in the mode line.
Stars: ✭ 26 (-80.45%)
Mutual labels:  travis-ci, ci
developer-ci-benefits
Talk docs—includes CI (Continuous Integration) benefits, description, and setup tips 💡💪
Stars: ✭ 29 (-78.2%)
Mutual labels:  travis-ci, ci
Pupernetes
Spin up a full fledged Kubernetes environment designed for local development & CI
Stars: ✭ 199 (+49.62%)
Mutual labels:  ci, travis-ci
Cibuildwheel
🎡 Build Python wheels for all the platforms on CI with minimal configuration.
Stars: ✭ 620 (+366.17%)
Mutual labels:  ci, travis-ci
Alpine Make Vm Image
Make customized Alpine Linux disk image for virtual machines
Stars: ✭ 145 (+9.02%)
Mutual labels:  alpine-linux, ci
docker-coala-base
coala base docker image
Stars: ✭ 20 (-84.96%)
Mutual labels:  travis-ci, ci
ci playground
Playground for Cloud CI development for C++
Stars: ✭ 23 (-82.71%)
Mutual labels:  travis-ci, ci
Monorepo
Showcase of how to manage building projects inside monorepo with Gradle as build tool and CircleCI, Bitbucket Pipelines, Travis CI or GitHub Actions as CI tool.
Stars: ✭ 129 (-3.01%)
Mutual labels:  ci, travis-ci
Travis Buddy
🚀 Seamless integration between TravisCI and GitHub
Stars: ✭ 262 (+96.99%)
Mutual labels:  ci, travis-ci
Nevergreen
🐤 A build monitor with attitude
Stars: ✭ 170 (+27.82%)
Mutual labels:  ci, travis-ci
Ci Matters
Integration (comparison) of different continuous integration services on Android project
Stars: ✭ 119 (-10.53%)
Mutual labels:  ci, travis-ci
Ci Detector
Detect continuous integration environment and get information of current build
Stars: ✭ 138 (+3.76%)
Mutual labels:  ci, travis-ci
ci-minikube
run minikube on ci
Stars: ✭ 28 (-78.95%)
Mutual labels:  travis-ci, ci
CI-Utils
Utilities for running Common Lisp on CI platforms
Stars: ✭ 18 (-86.47%)
Mutual labels:  travis-ci, ci
Cize
🔌 Continuous integration with the simplest solution
Stars: ✭ 100 (-24.81%)
Mutual labels:  ci, travis-ci
Idea Cli Inspector
A little command-line tool to integrate the awesome IntelliJ IDEA code inspections in your continuous integration (CI) process using Jenkins, Bamboo, et. al.
Stars: ✭ 120 (-9.77%)
Mutual labels:  ci, travis-ci
Dotfiles
Configuration files for XMonad, Emacs, NixOS, Taffybar and more.
Stars: ✭ 127 (-4.51%)
Mutual labels:  travis-ci
Mocky
Generate custom HTTP responses, the simpler way to test your Web Services
Stars: ✭ 1,762 (+1224.81%)
Mutual labels:  ci
Taskcluster
CI for Engineers
Stars: ✭ 126 (-5.26%)
Mutual labels:  ci

= Install Alpine Linux in chroot :script-name: alpine-chroot-install :script-sha1: 444069f1a060b9f08b7e5ac264c8b9527b32fb54 :gh-name: alpinelinux/{script-name} :version: 0.13.0

ifdef::env-github[] image:https://github.com/{gh-name}/workflows/CI/badge.svg["Build Status", link="https://github.com/{gh-name}/actions"] endif::env-github[]

This alpine-chroot-install script simplifies installation of https://alpinelinux.org/[Alpine Linux] for testing purposes on any x86_64 Linux system using https://man7.org/linux/man-pages/man1/chroot.1.html[chroot(1)]. Optionally it also utilizes qemu-user and binfmt to emulate different architecture.

The main purpose of this script is to easily create Alpine environment on Ubuntu-based CI services (e.g. https://github.com/features/actions[GitHub Actions] or https://travis-ci.org/[Travis CI]) and possibly emulate other architectures (e.g. ARM) on x86_64-only CI service.

Installation of Alpine Linux is a matter of a few seconds… 5 seconds to be more specific. It takes just ~5 seconds to prepare a chroot, install fresh Alpine including gcc build environment and execute first command! And it doesn’t use any prebuilt rootfs archive or image, and no Docker, of course. All you need to install Alpine Linux is just https://github.com/alpinelinux/apk-tools[apk-tools] -- Alpine’s package manager -- which is automatically downloaded by this script.

== Requirements

  • Linux system with common userland (Busybox or GNU coreutils)
  • POSIX-sh compatible shell (e.g. Busybox ash, dash, Bash, ZSH)
  • qemu-user ≥ 2.6 and binfmt, or apt-get (needed only for emulation of different architecture)

Note that Alpine binaries needs up-to-date version of QEMU. If you encounter error qemu: Unsupported syscall, it means that your QEMU version is too old. If you can’t upgrade QEMU (package qemu-user-static on Debian/Ubuntu), try an older Alpine Linux branch (option -b, e.g. -b v3.11).

== Usage

Read documentation in link:{script-name}[{script-name}]. See link:.github/workflows/ci.yml[] for GitHub Actions example.

You can copy link:{script-name}[{script-name}] into your repository or download it on demand, e.g.:

[source, sh, subs="verbatim, attributes"] wget https://raw.githubusercontent.com/{gh-name}/v{version}/{script-name}
&& echo '{script-sha1} {script-name}' | sha1sum -c
|| exit 1

== License

This project is licensed under http://opensource.org/licenses/MIT/[MIT License]. For the full text of the license, see the link:LICENSE[LICENSE] file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].