-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (25 loc) · 864 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
FROM alpine:3.5
MAINTAINER Louis Taylor "[email protected]"
RUN apk add --update-cache \
git \
make \
gcc \
musl-dev \
pkgconfig \
jansson-dev \
python \
py-pip \
python3 \
supervisor
RUN git clone --recursive https://github.com/sails-simulator/sailsd.git && \
make -C sailsd && \
make -C sailsd install && \
git clone https://github.com/sails-simulator/sails-ui-web && \
cp sails-ui-web/sails-ui-web /usr/local/bin/ && \
pip3 install python-sailsd aiohttp
RUN git clone https://github.com/sails-simulator/sails-boatd-driver.git
RUN pip install boatd python-boatdclient python-sailsd
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY boatd-sailsd-config.yaml /etc/boatd-config.yaml
EXPOSE 2222 3333 8080
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]