Skip to content
Snippets Groups Projects
Commit c816e550 authored by jkerdreu's avatar jkerdreu
Browse files

Initial release



git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2174 b32b6428-25c9-4566-ad07-03861ab6144f
parent b2d8e3c8
Branches
No related tags found
No related merge requests found
This folder contains some docker files.
xaal-shell:
===========
This docker image is a an alpine distro w/ the xAAL subversion. By defaut, it
launch a tmux. The default xAAL key is "xaal". You can of course launch severals
images in parallel to test the protocol itself.
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
CMD ["tmux"]
EXPOSE 8080/tcp
EXPOSE 9090/tcp
VER=latest
NAME=xaal-shell
all:test
build:
sudo docker build -t $(NAME):$(VER) .
run: build
sudo docker run -it --rm $(NAME):$(VER)
test:build run
sudo docker rmi $(NAME)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment