Introduce basic images with s6 and python2

This commit is contained in:
Disassembler 2018-04-30 22:39:44 +02:00
parent bcf4295086
commit d4aceca201
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
4 changed files with 21 additions and 0 deletions

View File

@ -57,5 +57,8 @@ cp ${SOURCE_DIR}/etc/init.d/docker /etc/init.d/docker
rc-update add docker rc-update add docker
service docker start service docker start
# Create basic image
docker build -t alpine ${SOURCE_DIR}
# Set dummy domain and generate related files # Set dummy domain and generate related files
spotter-appmgr update-domain spotter.vm 443 spotter-appmgr update-domain spotter.vm 443

6
basic/Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM alpine:3.7
MAINTAINER Disassembler <disassembler@dasm.cz>
RUN \
# Install S6 supervisor
apk --no-cache add s6

6
python2.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
SOURCE_DIR=$(realpath $(dirname "${0}"))/python2
# Build Docker container
docker build -t python2 ${SOURCE_DIR}

6
python2/Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM alpine
MAINTAINER Disassembler <disassembler@dasm.cz>
RUN \
# Install Python2 runtime
apk --no-cache add libxml2 libxslt python2