docker - Jenkins Dockerfile - unable to prepare context: unable to evaluate symlinks in Dockerfile -


i'm having following issue trying build project in jenkins "build inside docker container" functionality.

started user username lastname building in workspace /opt/bitnami/apps/jenkins/jenkins_home/jobs/app/workspace /opt/bitnami/git/bin/git rev-parse --is-inside-work-tree # timeout=10 fetching changes remote git repository /opt/bitnami/git/bin/git config remote.origin.url https://github.com/pierreburgy/sails-app # timeout=10 fetching upstream changes https://github.com/pierreburgy/sails-app /opt/bitnami/git/bin/git --version # timeout=10 /opt/bitnami/git/bin/git -c core.askpass=true fetch --tags --progress https://github.com/pierreburgy/sails-app +refs/heads/:refs/remotes/origin/ /opt/bitnami/git/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 /opt/bitnami/git/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 checking out revision a6e83d91be393fd8d597829ce5f84b336af1572b (refs/remotes/origin/master) /opt/bitnami/git/bin/git config core.sparsecheckout # timeout=10 /opt/bitnami/git/bin/git checkout -f a6e83d91be393fd8d597829ce5f84b336af1572b /opt/bitnami/git/bin/git rev-list a6e83d91be393fd8d597829ce5f84b336af1572b # timeout=10 build docker image ./dockerfile ... $ /opt/bitnami/apps/jenkins/jenkins_home/tools/org.jenkinsci.plugins.docker.commons.tools.dockertool/docker/bin/docker build --tag 17e2f7f926ff8a6c7e412defb7c2cb8140761e26 --file dockerfile /opt/bitnami/apps/jenkins/jenkins_home/jobs/app/workspace unable prepare context: unable evaluate symlinks in dockerfile path: lstat /opt/bitnami/apache-tomcat/logs/dockerfile: no such file or directory fatal: failed build docker image project dockerfile java.lang.runtimeexception: failed build docker image project dockerfile @ com.cloudbees.jenkins.plugins.docker_build_env.docker.buildimage(docker.java:127) @ com.cloudbees.jenkins.plugins.docker_build_env.dockerfileimageselector.preparedockerimage(dockerfileimageselector.java:41) @ com.cloudbees.jenkins.plugins.docker_build_env.dockerbuildwrapper.setup(dockerbuildwrapper.java:167) @ hudson.model.build$buildexecution.dorun(build.java:156) @ hudson.model.abstractbuild$abstractbuildexecution.run(abstractbuild.java:534) @ hudson.model.run.execute(run.java:1738) @ hudson.model.freestylebuild.run(freestylebuild.java:43) @ hudson.model.resourcecontroller.execute(resourcecontroller.java:98) @ hudson.model.executor.run(executor.java:410) finished: failure ```

here code of project : https://github.com/pierreburgy/sails-app

do have idea issue ?

thanks in advance

the github project you're referencing not have dockerfile installs sails. here's actual content of dockerfile in project mentioned.

   node    run echo 'we running # of cool things' 

here's project can check out: https://github.com/artificialio/docker-sails


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -