Browse code

add a simple note to suggest to the user to use RUN curl/wget/tool if the URL they need is behind auth

Sven Dowideit authored on 2013/12/29 20:27:59
Showing 1 changed files
... ...
@@ -251,6 +251,11 @@ All new files and directories are created with mode 0755, uid and gid
251 251
    if you build using STDIN (``docker build - < somefile``), there is no build 
252 252
    context, so the Dockerfile can only contain an URL based ADD statement.
253 253
 
254
+.. note::
255
+   if your URL files are protected using authentication, you will need to use
256
+   an ``RUN wget`` , ``RUN curl`` or other tool from within the container as
257
+   ADD does not support authentication.
258
+
254 259
 The copy obeys the following rules:
255 260
 
256 261
 * The ``<src>`` path must be inside the *context* of the build; you cannot