Skip to content

Commit

Permalink
Add dockerfile which will build the linux binary
Browse files Browse the repository at this point in the history
  • Loading branch information
lordi committed Apr 22, 2017
1 parent 98f7eb7 commit 15cebe5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM ubuntu:16.04

RUN apt-get update && apt-get upgrade
RUN apt-get install -y python3-pip python3-crypto libsnappy-dev
RUN apt-get install -y zip

RUN mkdir -p /syncrypt
ADD ./syncrypt /syncrypt/syncrypt
ADD ./scripts /syncrypt/scripts
ADD ./dist-files /syncrypt/dist-files
ADD ./setup.cfg /syncrypt/
ADD ./setup.py /syncrypt/
ADD ./README.md /syncrypt/

RUN pip3 install -e '/syncrypt[dist]'

WORKDIR /syncrypt

ADD ./syncrypt.spec /syncrypt/syncrypt.spec
RUN mkdir -p /syncrypt/dist
VOLUME /syncrypt/dist

CMD python3 setup.py dist

0 comments on commit 15cebe5

Please sign in to comment.