Docker build in Pipelines always fails when using wget

XMLWordPrintable

      The following works locally but fails in Bitbucket Pipelines:

      #!docker
      
      FROM resin/raspberry-pi-openjdk:8-jdk
      RUN wget https://google.nl
      

      docker build . -t foo

      #!log
      
      Step 2/8 : RUN wget https://google.nl
       ---> Running in a56489ab448f
      standard_init_linux.go:195: exec user process caused "exec format error"
      The command '/bin/sh -c wget https://google.nl' returned a non-zero code: 1
      

            Assignee:
            Unassigned
            Reporter:
            Jodiug
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: