NebulousLabs / docker-sia

The official docker image for the Sia daemon
https://sia.tech
MIT License
20 stars 1 forks source link

Fix dev images #56

Closed ro-tex closed 3 years ago

ro-tex commented 3 years ago

This PR fixes two problems with building our dev images:

  1. The build process failed because go failed to detect that it should be using go modules.
    • Fixed by explicitly exporting GO111MODULE=on.
  2. The build process failed because go get -u -d gitlab.com/NebulousLabs/Sia/... would no longer download the source code under $GOHOME/src/.
    • Fixed by switching to git clone.