<div dir="ltr"><div>Hi Toni,</div><div><br></div><div>It is not something very fancy and I am not sure if I can do that without causing another problem, but I did the following in order to have the command (<pre><code>docker-compose -f docker-compose.yml up -d --build) <span style="font-family:arial,helvetica,sans-serif">running from its begin to the end.<br><br></span></code></pre><pre><code><span style="font-family:arial,helvetica,sans-serif">1 - I downloaded the file via wget <br></span></code></pre><pre><code><span style="font-family:arial,helvetica,sans-serif"><pre><code><span style="font-family:arial,helvetica,sans-serif"><a href="https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip" target="_blank"><wbr></a></span></code><code><span style="font-family:arial,helvetica,sans-serif">2 - I unzipped the file  </span></code><code><span style="font-family:arial,helvetica,sans-serif">rclone-v1.39-linux-amd64.zip<br></span></code></pre><pre><code><span style="font-family:arial,helvetica,sans-serif"><pre><code><span style="font-family:arial,helvetica,sans-serif"></span></code></pre></span></code><code><span style="font-family:arial,helvetica,sans-serif">3 - I removed the file </span></code><code><span style="font-family:arial,helvetica,sans-serif">rclone-v1.39-linux-amd64.zip<br></span></code></pre><pre><code><span style="font-family:arial,helvetica,sans-serif">4 - I moved the file rclone-v1.39-linux-amd64.zip to /usr/bin<br></span></code></pre><pre><code><span style="font-family:arial,helvetica,sans-serif">5 - I commented the following line in the Dockerfile<br></span></code></pre><pre><code><span style="font-family:arial,helvetica,sans-serif"># 3. Install Rclone<br>#RUN wget <a href="https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip">https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip</a><br>#RUN unzip /rclone-v1.39-linux-amd64.zip<br>#RUN rm /rclone-v1.39-linux-amd64.zip<br>#RUN mv /rclone-v1.39-linux-amd64/rclone /usr/bin<br><br></span></code></pre><pre><code><span style="font-family:arial,helvetica,sans-serif">I appreciated you time<br><br></span></code></pre><pre><code><span style="font-family:arial,helvetica,sans-serif">Kind regards<br><br></span></code></pre><pre><code><span style="font-family:arial,helvetica,sans-serif">Julierme<br></span></code></pre><pre><code><span style="font-family:arial,helvetica,sans-serif"><br></span></code></pre></span></code></pre><pre><code><span style="font-family:arial,helvetica,sans-serif"><br></span></code></pre><br><pre><code><br></code></pre><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 23, 2018 at 4:51 PM, Julierme Pinheiro <span dir="ltr"><<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thank you very much for your reply Toni. Yes, the wget you sent in the previous e-mail works. I realized that if I run this command /bin/sh -c "wget <a href="https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip" target="_blank">https://downloads.rclone.org/<wbr>v1.39/rclone-v1.39-linux-<wbr>amd64.zip</a>" with wget between double quotes works too. I tried setting the wget between quotes (RUN "wget <a href="https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip" target="_blank">https://downloads.rclone.org/<wbr>v1.39/rclone-v1.39-linux-<wbr>amd64.zip</a>") in ./SPCgeonode/_service_rclone/<wbr>Dockerfile and got the following error:<br></div><div><br></div><div>Step 3/17 : RUN 'wget <a href="https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip" target="_blank">https://downloads.rclone.org/<wbr>v1.39/rclone-v1.39-linux-<wbr>amd64.zip</a>'<br> ---> Running in 2d761040c8cf<br>/bin/sh: wget <a href="https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip" target="_blank">https://downloads.rclone.org/<wbr>v1.39/rclone-v1.39-linux-<wbr>amd64.zip</a>: not found<br>ERROR: Service 'rclone' failed to build: The command '/bin/sh -c 'wget <a href="https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip" target="_blank">https://downloads.rclone.org/<wbr>v1.39/rclone-v1.39-linux-<wbr>amd64.zip</a>'' returned a non-zero code: 127<br></div><br><div>I am still tweaking through the Dockerfile in order to build something similar to /bin/sh -c "wget <a href="https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip" target="_blank">https://downloads.rclone.org/<wbr>v1.39/rclone-v1.39-linux-<wbr>amd64.zip</a>"</div><div><br></div><div>I appreciated your help.</div><div><br></div><div>Kind regards</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Julierme<br></div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 23, 2018 at 3:46 PM, Toni Schönbuchner <span dir="ltr"><<a href="mailto:toni.schoenbuchner@csgis.de" target="_blank">toni.schoenbuchner@csgis.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div></div><div>Hi Julierme,</div><div><br></div><div> does it work when you spoof a Major Browser?</div><div><br></div><div><pre style="margin-top:0px;padding:5px;border:0px;line-height:inherit;vertical-align:baseline;box-sizing:inherit;width:auto;max-height:600px;overflow:auto;word-wrap:normal"><code style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-caps:inherit;line-height:inherit;vertical-align:baseline;box-sizing:inherit;white-space:normal;background-color:rgba(255,255,255,0)"><font face="UICTFontTextStyleTallBody">wget "</font></code><font style="white-space:normal;background-color:rgba(255,255,255,0)" face="UICTFontTextStyleTallBody" color="#000000"><a href="https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip" style="white-space:normal;background-color:rgba(255,255,255,0)" target="_blank">https://downloads.rclone.org/<wbr>v1.39/rclone-v1.39-linux-amd64<wbr>.zip</a>" </font><span style="font-family:UICTFontTextStyleTallBody;font-style:inherit;font-variant-caps:inherit;white-space:normal;background-color:rgba(255,255,255,0)">--user-agent="Mozilla/5.<wbr>0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/<a href="http://2.0.0.6" target="_blank">2.0.0.6</a>"</span></pre></div><div>Cheers toni</div><div><div class="m_6991546787120225041h5"><div><br>Am 23.07.2018 um 19:06 schrieb Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@g<wbr>mail.com</a>>:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div>Dear GeoNode users,</div><div><br></div><div>I got all the prerequisites stated by <a href="https://github.com/olivierdalang/SPCgeonode" target="_blank">@olivierdalang</a> installed in CentOS VM. During step 3/17:  "RUN wget <a href="https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip" target="_blank">https://downloads.rclone.org/v<wbr>1.39/rclone-v1.39-linux-amd64.<wbr>zip</a>", related to the container ID "dbf265cb3519", I got an error message bellow and I wonder if this error is related to firewall. My first guess is not, because the download windows is shown while accessing the link <a href="https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip" target="_blank">https://downloads.rclone.org/v<wbr>1.39/rclone-v1.39-linux-amd64.<wbr>zip</a> in the browser.<br></div><div>Any hint on that will be very appreciated? <br></div><div></div><div><br></div><div>Thank you for your time and help in advance.</div><div><br></div><div>Kind regards</div><div><br></div><div>Julierme</div><div><br></div><div>Error Message:<br></div><div><br></div><div>Connecting to <a href="http://downloads.rclone.org" target="_blank">downloads.rclone.org</a> (<a href="http://5.153.250.7:443" target="_blank">5.153.250.7:443</a>)<br>ssl_client: <a href="http://downloads.rclone.org" target="_blank">downloads.rclone.org</a>: TLS connect failed<br>wget: error getting response: Connection reset by peer<br>ERROR: Service 'rclone' failed to build: The command '/bin/sh -c wget <a href="https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip" target="_blank">https://downloads.rclone.org/v<wbr>1.39/rclone-v1.39-linux-amd64.<wbr>zip</a>' returned a non-zero code: 1<br></div><div><br></div></div>
</div></blockquote></div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>