From d26e151386b345d72a07afae74a62b12d67a5fcd Mon Sep 17 00:00:00 2001 From: Giorgos Korfiatis <gkorf@grnet.gr> Date: Mon, 7 Sep 2015 15:34:09 +0300 Subject: [PATCH] add a simle docker file for agkyra --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7f986cb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM debian +RUN apt-get update && apt-get install -y python-pip python-dev git wget vim +RUN mkdir /src && cd /src && git clone https://github.com/pyinstaller/pyinstaller.git +ADD . /src/agkyra +RUN apt-get install -y locales && echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && locale-gen +ENV LANG en_US.UTF-8 +RUN cd /src/agkyra && ./configure.sh linux64 && python setup.py install +RUN adduser --disabled-password --gecos "" --ingroup root user +RUN chmod -R g+w /src +RUN su -c "cd /src/agkyra && ../pyinstaller/pyinstaller.py agkyra.spec" user -- GitLab