ASynK icon indicating copy to clipboard operation
ASynK copied to clipboard

Dockerfile for ASynK

Open andrewferrier opened this issue 9 years ago • 1 comments

I'm in the process of trying out ASynK. Because I was finding the dependencies somewhat fiddly, I created a Dockerfile for it, which you might be interested in. In case you are, here's the (current) contents:

FROM ubuntu:14.04
RUN apt-get update && apt-get install -y \
        python \
        python-dev \
        python-pip \
        git
RUN easy_install --upgrade google-api-python-client
RUN pip install gdata
WORKDIR /root
RUN git clone https://github.com/skarra/ASynK
WORKDIR /root/ASynK
RUN /root/ASynK/asynk_cmdline.py -h

You might want to incorporate them into the ASynK repo somehow.

andrewferrier avatar Aug 23 '15 16:08 andrewferrier

When you say "you may want to incorporate them into ASynK repo somehow" - did you mean as installation notes / docs?

Some questions as well:

  • Why not use pip -r requirements.txt. That would also take care of installing google-api-python-client, along with some of the other requirements that you may not have run into for your specific use case.
  • You should clone recursively with the --recursively flag to git clone
  • The standard gdata has a bug that is fixed in my version. That's one reason you should clone recursively

skarra avatar Aug 23 '15 17:08 skarra