docker - Automatic build with Add from URL -


i'm trying auto build on hub.docker.com using add files url. have following docker file on github, builds being triggered:

from ubuntu:14.04  maintainer andy cobley "andy@example.org"  env refreshed_at 2015-29-04  run apt-get update  run apt-get install -y nginx  run mkdir -p /var/www/html  add http://example.org:8080/global.conf /etc/nginx/conf.d/  add http://example.org:8080/nginx.conf /etc/nginx/nginx.conf  expose 80  entrypoint ["/usr/sbin/nginx"]

the files not being added container. can confirm files exist on server , accessible. there i'm missing ?

as first add ends /, docker thinks source (global.conf) directory, try add http://example.org:8080/global.conf /etc/nginx/conf.d/global.conf


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -