1
0
Fork 0
mirror of https://github.com/kou029w/yama.git synced 2025-01-18 16:08:11 +00:00
yama/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}"