Sign inSign up

arpanpal010/alpine-base

By arpanpal010

•Updated almost 9 years ago

Automated Alpine Linux Base image built from scratch on a Raspberry Pi 3/Intel NUC.

Image
1

2.4K

arpanpal010/alpine-base repository overview

⁠Alpine-Base

⁠Container for Alpine Linux Base Builds

This image⁠ serves as the base rootfs container for Alpine Linux⁠. Built from scratch using the minirootfs image from here⁠.

The image is tagged respectively for 2 architectures,

  • armhf
  • x86_64

⁠Get the Image

Pull the image for your architecture it's already available from Docker Hub.

# make pull
docker pull arpanpal010/alpine-base:x86_64


⁠Run

# make
docker run --rm -it \
  --name docker_base --hostname base \
  arpanpal010/alpine-base:x86_64

# make stop
docker stop -t 2 docker_base

# make rm
# stop first
docker rm -f docker_base

# make restart
docker restart docker_base


⁠Shell access

# make rshell
docker exec -u root -it docker_base /bin/bash

# make shell
docker exec -it docker_base /bin/bash

# make logs
docker logs -f docker_base


⁠Development


If you have the repository access, you can clone and build the image yourself for your own system, and can push after.


⁠Setup

Before you clone the repo, you must have Git⁠, GNU make⁠, and Docker⁠ setup on the machine.

git clone <repository url>
cd <repository>

You can always skip installing make but you will have to type the whole docker commands then instead of using the sweet make targets.


⁠Build

To locally build the image for your system.

# make build
# fetches latest minirootfs
docker build --rm --force-rm \
  -t arpanpal010/alpine-base:x86_64 \
  --no-cache=true .

# make push
docker push arpanpal010/alpine-base:x86_64


⁠Maintenance


Currently built daily on a RaspberryPi3 (armhf builds) or IntelNUC (x64 builds). Docker hub builds maintained by arpanpal010⁠.

Tag summary

Content type

Image

Digest

Size

3.1 MB

Last updated

almost 9 years ago

docker pull arpanpal010/alpine-base:armhf