megabit-os/bin/import
2020-07-21 01:34:15 +09:00

7 lines
244 B
Bash
Executable file

#!/bin/sh
# イメージを取得
# Usage: bin/import version my-image-name
# Required: docker
set -eux
base="http://dl-cdn.alpinelinux.org/alpine/latest-stable/releases/armhf"
docker import "${base}/alpine-minirootfs-${1}-armhf.tar.gz" "${2}"