Until yesterday (2020-11-20), I could go get github.com/hashicorp/packer
.
Today (2020-11-21), I can't go get github.com/hashicorp/packer
.
It looks required to develop packer plugin:
cf. Plugins - Extending | Packer by HashiCorp
Or, do I mistake something to prepare develop environment for packer plugin?
(I'm quite new to develop it...)
1.
Create Dockerfile:
FROM golang
RUN go get github.com/hashicorp/packer
2.
Run build:
docker build .
master
branch
Not related with this issue.
Windows 10 + Docker Desktop + WSL2 Ubuntu 20.04
Step 2/6 : RUN go get github.com/hashicorp/packer
---> Running in f35a2cb02067
# github.com/hashicorp/packer/provisioner/salt-masterless
src/github.com/hashicorp/packer/provisioner/salt-masterless/provisioner.go:401:29: undefined: provisioner
ERROR: Service 'golang' failed to build : The command '/bin/sh -c go get github.com/hashicorp/packer' returned a non-zero code: 2
The following line seems to had been merged yesterday:
if p.config.GuestOSType == provisioner.WindowsOSType {
cf: #10201
Hello there ! Thanks for opening, I fixed this in #10296. You probably know what you are doing but using a tagged version of packer could have helped you here. 馃檪 for example: go get github.com/hashicorp/[email protected]
Thanks for your quick fix and teaching how to avoid, I got it馃檪