Closed outofsight closed 6 months ago
First of i would use a docker image that already has golang installed (https://hub.docker.com/_/golang). Second i don't see the step where you clone the flux repository inside the container. Do you mount it with volume? You need to run the go commands in the root of the checkout flux repository.
Thanks for reply. Unfortunately I'm beginner with all these things. Do you have by change a working dockerfile to build and use flux repl?
I don't have one, but the repository seesm to have one: https://github.com/influxdata/flux/blob/master/Dockerfile_build
This issue has had no recent activity and will be closed soon.
I'm trying to setup a building environment in docker container and build flux REPL but unfortunately I'm not succeding because I'm unable to fully understand the preocess and the dependency.
This is the dockerfile I'm sending to
docker build
.The first error is with the
go get
.Not sure if a
go init
orgo install
or a directory change are needed. I tried with ago install github.com/influxdata/pkg-config@latest
instead of thego get
but at this point the error become:go: go.mod file not found in current directory or any parent directory; see 'go help modules'
Any help appreciated.