This commit is contained in:
Disassembler 2018-09-05 17:46:44 +02:00
parent deacaa94be
commit 26075bad79
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
7 changed files with 41 additions and 38 deletions

View File

@ -3,6 +3,9 @@ set -e
SOURCE_DIR=$(realpath $(dirname "${0}"))
# Copy lxc-build
cp ${SOURCE_DIR}/lxc-build /usr/bin/lxc-build
# Build basic Alpine LXC image
mkdir -p /var/lib/lxc/shared/alpine
wget https://github.com/gliderlabs/docker-alpine/raw/2bfe6510ee31d86cfeb2f37587f4cf866f28ffbc/versions/library-3.8/x86_64/rootfs.tar.xz -O - | tar xJf - -C /var/lib/lxc/shared/alpine