Skip to content

使用docker build -t auto .构建时出现错误 #25

Open

Description

@GliuliuG

你好,我使用docker build -t auto .构建时出现错误

提示这样的错误,我换源和多执行几次还是这样:

Dockerfile:35

34 |
35 | >>> RUN go env -w GOPROXY=https://goproxy.cn,direct
36 | >>> && GO111MODULE=on go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
37 |

ERROR: failed to solve: process "/bin/sh -c go env -w GOPROXY=https://goproxy.cn,direct && GO111MODULE=on go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest" did not complete successfully: exit code: 1

Activity

  1. wtchhb commented on Mar 16, 2024

    @wtchhb

    更换下go的版本 饿哦使用1.22.1的gou版本 能够构建成功

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions