FROM alpine:latest RUN apk update RUN apk add --no-cache python3 python3-dev subversion libsodium-dev git g++ musl-dev tmux file RUN pip3 install --upgrade pip # due to a bug in current ujson on alpine, we need to use the git RUN pip3 install git+git://github.com/esnme/ultrajson.git RUN svn co https://redmine.telecom-bretagne.eu/svn/xaal/code/Python/trunk /root/xaal_svn RUN cd /root/xaal_svn && python3 ./install.py RUN mkdir /root/.xaal/ RUN echo xaal|xaal-keygen|grep "key=" > /root/.xaal/xaal.ini COPY ./tmux.conf /root/.tmux.conf CMD ["tmux"] EXPOSE 8080/tcp EXPOSE 9090/tcp