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

@ -1,5 +1,5 @@
LAYER shared/alpine
SCRIPT
apk --no-cache add s6
RUN
LAYER shared/alpine
SCRIPT
apk --no-cache add s6
RUN

View File

@ -1,6 +1,6 @@
LAYER shared/alpine
LAYER shared/java
SCRIPT
apk --no-cache add openjdk8-jre-base
RUN
LAYER shared/alpine
LAYER shared/java
SCRIPT
apk --no-cache add openjdk8-jre-base
RUN

View File

@ -1,6 +1,6 @@
LAYER shared/alpine
LAYER shared/libxml
SCRIPT
apk --no-cache add libxml2 libxslt
RUN
LAYER shared/alpine
LAYER shared/libxml
SCRIPT
apk --no-cache add libxml2 libxslt
RUN

View File

@ -1,6 +1,6 @@
LAYER shared/alpine
LAYER shared/php
SCRIPT
apk --no-cache add nginx php7 php7-ctype php7-fpm php7-gd php7-json php7-mbstring php7-mcrypt php7-opcache php7-session
RUN
LAYER shared/alpine
LAYER shared/php
SCRIPT
apk --no-cache add nginx php7 php7-ctype php7-fpm php7-gd php7-json php7-mbstring php7-mcrypt php7-opcache php7-session
RUN

View File

@ -1,7 +1,7 @@
LAYER shared/alpine
LAYER shared/libxml
LAYER shared/python2
SCRIPT
apk --no-cache add python2
RUN
LAYER shared/alpine
LAYER shared/libxml
LAYER shared/python2
SCRIPT
apk --no-cache add python2
RUN

View File

@ -1,8 +1,8 @@
LAYER shared/alpine
LAYER shared/libxml
LAYER shared/python2
SCRIPT
apk --no-cache add python3
ln -s /usr/bin/python3 /usr/bin/python
RUN
LAYER shared/alpine
LAYER shared/libxml
LAYER shared/python2
SCRIPT
apk --no-cache add python3
ln -s /usr/bin/python3 /usr/bin/python
RUN

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