Skip to content

Fail to install using docker #23

@hyfung

Description

@hyfung

Environment: Ubuntu 20.04 with Go 1.20.6 from snap

Using docker with go install:

>     -v $(pwd):/dest \
>     golang:1.16.4 \
>     sh -c "
>     go install github.com/NVIDIA/mig-parted/cmd@latest
>     mv /go/bin/cmd /dest/nvidia-mig-parted
>     "

Unable to find image 'golang:1.16.4' locally
1.16.4: Pulling from library/golang
d960726af2be: Pull complete 
e8d62473a22d: Pull complete 
8962bc0fad55: Pull complete 
65d943ee54c1: Pull complete 
f2253e6fbefa: Pull complete 
6d7fa7c7d5d3: Pull complete 
e2e442f7f89f: Pull complete 
Digest: sha256:8a106c4b4005efb43c0ba4bb5763b84742c7e222bad5a8dff73cc9f7710c64ee
Status: Downloaded newer image for golang:1.16.4
go: downloading github.com/NVIDIA/mig-parted v0.5.3
go install github.com/NVIDIA/mig-parted/cmd@latest: module github.com/NVIDIA/mig-parted@latest found (v0.5.3), but does not contain package github.com/NVIDIA/mig-parted/cmd
mv: cannot stat '/go/bin/cmd': No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions