Introduce basic images with s6 and python2
This commit is contained in:
parent
bcf4295086
commit
d4aceca201
3
basic.sh
3
basic.sh
@ -57,5 +57,8 @@ cp ${SOURCE_DIR}/etc/init.d/docker /etc/init.d/docker
|
||||
rc-update add docker
|
||||
service docker start
|
||||
|
||||
# Create basic image
|
||||
docker build -t alpine ${SOURCE_DIR}
|
||||
|
||||
# Set dummy domain and generate related files
|
||||
spotter-appmgr update-domain spotter.vm 443
|
||||
|
6
basic/Dockerfile
Normal file
6
basic/Dockerfile
Normal 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
6
python2.sh
Executable 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
6
python2/Dockerfile
Normal file
@ -0,0 +1,6 @@
|
||||
FROM alpine
|
||||
MAINTAINER Disassembler <disassembler@dasm.cz>
|
||||
|
||||
RUN \
|
||||
# Install Python2 runtime
|
||||
apk --no-cache add libxml2 libxslt python2
|
Loading…
Reference in New Issue
Block a user