firecat53 / dockerfiles

Dockerfiles: Gollum, Jackett, Miniflux, Nginx/PHP-FPM, Plex, Privatebin, Qbittorrent, Radarr, Sabnzbd, Samba, SSH Socks Proxy server, Sonarr, Syncthing, Transmission, Unifi Controller.
MIT License
626 stars 93 forks source link

build failed #12

Closed deathrush closed 8 years ago

deathrush commented 8 years ago

2016-03-04 11:25:21 Starting the build 2016-03-04 11:25:24 Cloning code source from repo https://github.com/firecat53/dockerfiles.git on branch:master 2016-03-04 11:25:24 Cloning into '/tmp/tmpds1qcd'... 2016-03-04 11:25:28 Submodule 'docker-gen' (https://github.com/jwilder/docker-gen.git) registered for path 'docker-gen' 2016-03-04 11:25:28 Submodule 'docker-letsencrypt-nginx-proxy-companion' (https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion) registered for path 'docker-letsencrypt-nginx-proxy-companion' 2016-03-04 11:25:28 Cloning into 'docker-gen'... 2016-03-04 11:25:34 Submodule path 'docker-gen': checked out 'f27f281b1340654435c4912ff9927409481d67c2' 2016-03-04 11:25:34 Cloning into 'docker-letsencrypt-nginx-proxy-companion'... 2016-03-04 11:25:39 Submodule path 'docker-letsencrypt-nginx-proxy-companion': checked out '56e4b43d35526ebdd584d1b87c983a789ea4d3a7' 2016-03-04 11:25:44 Looking for old image. Please wait 2016-03-04 11:26:01 Dockerfile path: /tmp/tmpds1qcd/syncthing_discovery/Dockerfile. Build context path: /tmp/tmpds1qcd/syncthing_discovery 2016-03-04 11:26:01 Sending build context to Docker daemon 7.68 kB Sending build context to Docker daemon 7.68 kB 2016-03-04 11:26:01 Step 1 : FROM ubuntu:trusty 2016-03-04 11:26:05 trusty: Pulling from library/ubuntu 2016-03-04 11:26:05 Digest: sha256:641d8c5895f973eda85a3c0f649cd81b86fe46a151281ff23dce4a51707a0aad 2016-03-04 11:26:05 Status: Image is up to date for ubuntu:trusty 2016-03-04 11:26:05 ---> 8ed581e3fa7a 2016-03-04 11:26:05 Step 2 : MAINTAINER Scott Hansen firecat4153@gmail.com 2016-03-04 11:26:05 ---> Using cache 2016-03-04 11:26:05 ---> 8c27bd75a8cf 2016-03-04 11:26:05 Step 3 : ADD http://build.syncthing.net/job/discosrv/lastSuccessfulBuild/artifact/discosrv-linux-amd64.tar.gz /discosrv.tar.gz 2016-03-04 11:26:09 ---> Using cache 2016-03-04 11:26:09 ---> 07fd837456c1 2016-03-04 11:26:09 Step 4 : RUN tar -xzvf discosrv.tar.gz && rm discosrv.tar.gz && mv discosrv* discosrv 2016-03-04 11:26:10 ---> Using cache 2016-03-04 11:26:10 ---> a40bf0ed85b5 2016-03-04 11:26:10 Step 5 : ADD cert.pem /discosrv/ 2016-03-04 11:26:10 lstat cert.pem: no such file or directory 2016-03-04 11:26:15 Sending build context to Docker daemon 7.68 kB Sending build context to Docker daemon 7.68 kB 2016-03-04 11:26:15 Step 1 : FROM ubuntu:trusty 2016-03-04 11:26:18 trusty: Pulling from library/ubuntu 2016-03-04 11:26:18 Digest: sha256:641d8c5895f973eda85a3c0f649cd81b86fe46a151281ff23dce4a51707a0aad 2016-03-04 11:26:18 Status: Image is up to date for ubuntu:trusty 2016-03-04 11:26:18 ---> 8ed581e3fa7a 2016-03-04 11:26:18 Step 2 : MAINTAINER Scott Hansen firecat4153@gmail.com 2016-03-04 11:26:19 ---> Using cache 2016-03-04 11:26:19 ---> 8c27bd75a8cf 2016-03-04 11:26:19 Step 3 : ADD http://build.syncthing.net/job/discosrv/lastSuccessfulBuild/artifact/discosrv-linux-amd64.tar.gz /discosrv.tar.gz 2016-03-04 11:26:21 ---> Using cache 2016-03-04 11:26:21 ---> 07fd837456c1 2016-03-04 11:26:21 Step 4 : RUN tar -xzvf discosrv.tar.gz && rm discosrv.tar.gz && mv discosrv* discosrv 2016-03-04 11:26:22 ---> Using cache 2016-03-04 11:26:22 ---> a40bf0ed85b5 2016-03-04 11:26:22 Step 5 : ADD cert.pem /discosrv/

**2016-03-04 11:26:22 lstat cert.pem: no such file or directory

2016-03-04 11:26:22 Build failed! Please check errors in the log. If you need help, please cut a ticket to us**

firecat53 commented 8 years ago

Per the README (which admittedly could be more clear), you need to either run initialize.sh to generate the key and certificate, add your own key/certificate files, or comment out those 'ADD' lines in the Dockerfile if you are going to use the -http option with discosrv and don't need a key/cert.

firecat53 commented 8 years ago

Thanks! Let me know if you have other questions/problems.

Scott