Skip to content

Build fails to find "GO" #1

@jjacob27

Description

@jjacob27

When I tried this command
docker build -t plugin-build-tools:latest .
as mentioned in the documentation, it failed to install golang in the image.

I had to modify the Dockerfile to include the two lines before the RUN yum install -y git make golang
RUN rpm --import https://mirror.go-repo.io/centos/RPM-GPG-KEY-GO-REPO
RUN curl -s https://mirror.go-repo.io/centos/go-repo.repo | tee /etc/yum.repos.d/go-repo.repo

Hopefully you can review this and add this step to the main readme

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