-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
39 lines (28 loc) · 1005 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM msoap/shell2http
ENV PATH=${PATH}:/www/app/bin
ENTRYPOINT []
CMD ["supervisord", "--nodaemon", "--configuration", "/etc/supervisord.conf", "--pidfile", "/var/run/supervisord.pid"]
RUN apk upgrade
RUN apk add -U --no-cache bash supervisor curl jq jo coreutils util-linux libc6-compat nginx git ts aha openssh socat openldap-clients ssmtp
RUN apk add -U --no-cache --allow-untrusted --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community/ cronie
RUN apk add -U --no-cache docker parallel
## bash-tpl rendering engine
RUN curl -Lso /bin/bash-tpl https://github.com/TekWizely/bash-tpl/releases/download/v0.7.1/bash-tpl \
&& chmod +x /bin/bash-tpl
RUN mkdir /root/.cache
## docker-dist
COPY docker-dist /
RUN chmod +x /bin/*
## wish
COPY wish /www
RUN chmod +x /www/index.sh
## version
COPY version /www/
WORKDIR /www
## SUPERVISOR SERVICES
ENV SPV_NGINX=true
ENV SPV_SHELL2HTTP=true
ENV SPV_CRON=true
ENV SPV_ENTRYPOINT=true
ENV SPV_WEBSOCKET=false
ENV PLUGFILE=/www/app/wishplugs