Skip to content
Snippets Groups Projects
Commit 5c806636 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

Simplify and update docker file

parent 24aeab7c
No related branches found
No related tags found
No related merge requests found
FROM debian FROM debian
RUN apt-get update && apt-get install -y python-pip python-dev git wget vim RUN apt-get update && apt-get install -y python-pip python-dev git
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 RUN apt-get install -y locales && echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && locale-gen
RUN adduser --disabled-password --gecos "" user
ENV LANG en_US.UTF-8 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 WORKDIR /home/user
RUN chmod -R g+w /src ADD . /home/user/agkyra
RUN su -c "cd /src/agkyra && ../pyinstaller/pyinstaller.py agkyra.spec" user
RUN git clone https://github.com/pyinstaller/pyinstaller.git
WORKDIR /home/user/agkyra
RUN python configure.py linux64 && python setup.py install
RUN chown user:user /home/user/agkyra/build
RUN chown user:user /home/user/agkyra/dist
USER user
ENV HOME /home/user
RUN ../pyinstaller/pyinstaller.py agkyra.spec
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment