title: wget: unable to resolve host address 'github.com'
body: <p>I am building my dockerfile using Redhat UBI image, and when I build the image I get the wget: unable to resolve host address'github.com'.</p>
  <p>I have tried adding a different URL that does not start with GitHub and that works. Not sure what the problem is.</p>
  <p>Below are the errors logs i get when i build the docker file with : wget: unable to resolve host address 'github.com'</p>
  <pre><code>Step 11/25 : RUN set -ex;   apk update;   apk add -f acl dirmngr gpg lsof procps wget netcat gosu tini;   rm -rf /var/lib/apt/lists/*;   cd /usr/local/bin; wget -nv https://github.com/apangin/jattach/releases/download/v1.5/jattach; chmod 755 jattach;   echo &gt;jattach.sha512 &quot;d8eedbb3e192a8596c08efedff99b9acf1075331e1747107c07cdb1718db2abe259ef168109e46bd4cf80d47d43028ff469f95e6ddcbdda4d7ffa73a20e852f9  jattach&quot;;   sha512sum -c jattach.sha512; rm jattach.sha512
   ---&gt; Running in 3ad58c40b25a
  + apk update
  fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
  fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
  v20200917-1125-g7274a98dfc [https://dl-cdn.alpinelinux.org/alpine/edge/main]
  v20200917-1124-g01e8cb93ff [https://dl-cdn.alpinelinux.org/alpine/edge/community]
  OK: 13174 distinct packages available
  + apk add -f acl dirmngr gpg lsof procps wget netcat gosu tini
  (1/12) Installing libacl (2.2.53-r0)
  (2/12) Installing acl (2.2.53-r0)
  (3/12) Installing lsof (4.93.2-r0)
  (4/12) Installing libintl (0.20.2-r0)
  (5/12) Installing ncurses-terminfo-base (6.2_p20200918-r1)
  (6/12) Installing ncurses-libs (6.2_p20200918-r1)
  (7/12) Installing libproc (3.3.16-r0)
  (8/12) Installing procps (3.3.16-r0)
  (9/12) Installing tini (0.19.0-r0)
  (10/12) Installing libunistring (0.9.10-r0)
  (11/12) Installing libidn2 (2.3.0-r0)
  (12/12) Installing wget (1.20.3-r1)
  Executing busybox-1.32.0-r3.trigger
  OK: 9 MiB in 26 packages
  + rm -rf '/var/lib/apt/lists/*'
  + cd /usr/local/bin
  + wget -nv https://github.com/apangin/jattach/releases/download/v1.5/jattach
  wget: unable to resolve host address 'github.com'
  The command '/bin/sh -c set -ex;   apk update;   apk add -f acl dirmngr gpg lsof procps wget netcat gosu tini;   rm -rf /var/lib/apt/lists/*;   cd /usr/local/bin; wget -nv https://github.com/apangin/jattach/releases/download/v1.5/jattach; chmod 755 jattach;   echo &gt;jattach.sha512 &quot;d8eedbb3e192a8596c08efedff99b9acf1075331e1747107c07cdb1718db2abe259ef168109e46bd4cf80d47d43028ff469f95e6ddcbdda4d7ffa73a20e852f9  jattach&quot;;   sha512sum -c jattach.sha512; rm jattach.sha512' returned a non-zero code: 4
  </code></pre>
  <p>Here is my docker file that I have which I build to create the image</p>
  <pre><code>FROM alpine: edge as BUILD
  
  
  LABEL maintainer=&quot;Project Ranger team &lt;mbyousaf@deloitte.co.uk&gt;&quot;
  LABEL repository=&quot;https://github.com/docker-solr/docker-solr&quot;
  
  ARG SOLR_VERSION=&quot;8.6.2&quot;
  ARG SOLR_SHA512=&quot;0a43401ecf7946b2724da2d43896cd505386a8f9b07ddc60256cb586873e7e58610d2c34b1cf797323bf06c7613b109527a15105dc2a11be6f866531a1f2cef6&quot;
  ARG SOLR_KEYS=&quot;E58A6F4D5B2B48AC66D5E53BD4F181881A42F9E6&quot;
  # If specified, this will override SOLR_DOWNLOAD_SERVER and all ASF mirrors. Typically used downstream for custom builds
  ARG SOLR_DOWNLOAD_URL
  
  # Override the solr download location with e.g.:
  #   docker build -t mine --build-arg SOLR_DOWNLOAD_SERVER=http://www-eu.apache.org/dist/lucene/solr .
  ARG SOLR_DOWNLOAD_SERVER
  
  
  RUN set -ex; \
    apk add --update; \
    apk add -f install acl dirmngr gpg lsof procps wget netcat gosu tini; \
    rm -rf /var/lib/apt/lists/*; \
    cd /usr/local/bin; wget -nv https://github.com/apangin/jattach/releases/download/v1.5/jattach; chmod 755 jattach; \
    echo &gt;jattach.sha512 &quot;d8eedbb3e192a8596c08efedff99b9acf1075331e1747107c07cdb1718db2abe259ef168109e46bd4cf80d47d43028ff469f95e6ddcbdda4d7ffa73a20e852f9  jattach&quot;; \
    sha512sum -c jattach.sha512; rm jattach.sha512
  
  </code></pre>