klakegg / docker-hugo

Truly minimal Docker images for Hugo open-source static site generator.
https://hub.docker.com/r/klakegg/hugo/
MIT License
390 stars 69 forks source link

Error: failed to download modules: binary with name "go" not found #77

Closed hemna closed 1 year ago

hemna commented 1 year ago

Trying to standup my hugo instance with my docker-compose results in error not finding go

version: '3.2'

services:
  hugo:
    image: klakegg/hugo:0.101.0
    command: server
    container_name: hugo
    ports:
      - 1313:1313
    volumes:
      - /Users/i530566/devel/SAP/convergedcloud-opsdocu-ui:/src
└─> docker-compose up
[+] Running 5/5
 ⠿ hugo Pulled                                                                                                                               5.0s
   ⠿ fc0cda0e09ab Pull complete                                                                                                              0.6s
   ⠿ f0848786bdc8 Pull complete                                                                                                              3.3s
   ⠿ c65fcb485fc0 Pull complete                                                                                                              3.4s
   ⠿ 4f4fb700ef54 Pull complete                                                                                                              3.4s
[+] Running 1/1
 ⠿ Container hugo  Recreated                                                                                                                 0.2s
Attaching to hugo
hugo  | Error: failed to download modules: binary with name "go" not found
hugo exited with code 255
Elara6331 commented 1 year ago

In order to use Go, you'll need one of the Extended images, such as ext-alpine-ci or 0.107.0-ext-alpine