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

Drop support form Alpine to Python3 buster image



git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2640 b32b6428-25c9-4566-ad07-03861ab6144f
parent c0bd88a4
Branches
No related tags found
No related merge requests found
FROM alpine:latest
RUN apk update
RUN apk add --no-cache python3 python3-dev py3-pip subversion libsodium-dev git g++ musl-dev tmux file
FROM python:3-slim-buster
RUN apt update
#RUN apt install -y python3 python3-dev python3-pip subversion libsodium-dev git g++ tmux file
RUN apt install -y python3-pip subversion libsodium-dev git g++ tmux file fish procps net-tools nano
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/branches/0.7 /root/xaal_svn
RUN cd /root/xaal_svn && python3 ./install.py
......@@ -13,7 +11,10 @@ RUN mkdir /root/.xaal/
RUN echo xaal|xaal-keygen|grep "key=" > /root/.xaal/xaal.ini
COPY ./tmux.conf /root/.tmux.conf
CMD ["tmux"]
run chsh root -s /usr/bin/fish
#CMD ["tmux"]
#CMD ["bash"]
CMD ["fish"]
EXPOSE 8080/tcp
EXPOSE 9090/tcp
......
VER=latest
NAME=xaal-shell
NAME=xaal-debian
all:test
build:
sudo docker build -t $(NAME):$(VER) .
docker build -t $(NAME):$(VER) .
run: build
sudo docker run -it --rm $(NAME):$(VER)
docker run -it --rm $(NAME):$(VER)
test:build run
sudo docker rmi $(NAME)
docker rmi $(NAME)
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment