8dfabe4056
Create Arch Linux ARM images using multi-stage Dockerfile. This works well with binfmt emulation and allows to generate images from scratch. Inspiration taken from: - https://github.com/archlinux/archlinux-docker - https://github.com/lopsided98/archlinux
11 lines
212 B
Bash
Executable file
11 lines
212 B
Bash
Executable file
#!/bin/bash -ex
|
|
|
|
DOCKER_ARCH=arm32v7
|
|
DOCKER_ORG=agners
|
|
DOCKER_IMAGE=archlinuxarm-${DOCKER_ARCH}
|
|
|
|
TAG_DATE=$(date +'%Y%m%d')
|
|
|
|
docker build -t $DOCKER_ORG/$DOCKER_IMAGE \
|
|
-t $DOCKER_ORG/$DOCKER_IMAGE:$TAG_DATE .
|
|
|