automatron icon indicating copy to clipboard operation
automatron copied to clipboard

Failed Docker build

Open dcs02d opened this issue 6 years ago • 6 comments

Just getting started with automatron and when the docker image build for automatron I'm getting an error at Step 8/9 :

RUN find -name "*.sh" -exec chmod 755 {} ; ---> Running in 5d9bd72dd891 find: './proc/1/map_files': Operation not permitted

I did a manual work around so this is just an FYI.

dcs02d avatar Aug 30 '18 16:08 dcs02d

It looks like fabric was updated and pip install fabric==1.14.0 is needed now?

dcs02d avatar Aug 30 '18 17:08 dcs02d

One last note... I did this quick hack to deal with missing time zones in the docker file - RUN TERM=xterm-256color && export DEBIAN_FRONTEND=noninteractive && apt-get install -y tzdata RUN ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime RUN dpkg-reconfigure --frontend noninteractive tzdata

I'm happy to make edit and do a pull request. I appreciate the software.

--Don

Florida State University Research Computing

dcs02d avatar Aug 30 '18 19:08 dcs02d

And one more note for someone trying to get this up and running - The error "ssh cannot import name certificate_transparency" can be resolved by adding the following to your docker build file.

RUN pip install --process-dependency-links ctutlz

dcs02d avatar Aug 31 '18 14:08 dcs02d

Howdie thanks for reporting the build issues. Are you building from the master branch or the develop branch?

#123 took care of a lot of these. I’m going to do another release here in a few to push these fixed to master.

madflojo avatar Sep 01 '18 02:09 madflojo

Was using the master branch. Thanks for the reply and have a good weekend.

--Don

dcs02d avatar Sep 01 '18 14:09 dcs02d

I pulled the master branch and 2 of those issues are still there...

The error - DEBUG - Could not login to discovered host xxxxx - cannot import name certificate_transparency

Is resolved with pip install --process-dependency-links ctutlz

I did get the tinezone fix.

dcs02d avatar Sep 11 '18 14:09 dcs02d