Closed GiovanH closed 3 years ago
Reverting d3bd966df8e2a6eda2343c2adb833ea01a1157f7 seems to fix the issue.
you should pull umputun/baseimage:buildgo-latest
Resolved with 19ba43b8436b741779c7bb595031652954a8d8e0?
no, it wasn't a problem, and the change unrelated. As you can see Dockerfile.artifact always used latest
All you need to do in order to build it, is to make sure your umputun/baseimage:buildgo-latest fresh, i.e. docker pull umputun/baseimage:buildgo-latest
So you can't build from master, you can only build from that side branch? And that's intended?
you can build from master as well as any other branch. All you need in order to build it is to pull the image as I described above.
Oh, no, sorry for the confusion. I'm describing the dockerless workflow, where you build from binary instead of building a docker image.
yeah, still relevant as for dockless workflow you still build in docker. Your original message shows the command you used - docker build -f Dockerfile.artifacts -t remark42.bin .
. Try to run docker pull umputun/baseimage:buildgo-latest
first and you could run your docker build -f Dockerfile.artifacts -t remark42.bin .
after this without any issue.
@GiovanH did pull solve the build problem?
Haven't gotten a chance to test this yet, but the only command I ran in the example I gave was make OS=linux ARCH=amd64
; the docker commands were part of the makefile. Perhaps this is as simple as adding a line to the makefile
ah, I see. you expected make to take care of this, and this is a reasonable expectation. I have added options to ensure fresh images get pulled.
In a recent change, the dockerfile versioning system was changed from using
/script/git-rev.sh
to/script/version.sh
. After updating to the latest version, building a binary gives this error:$ make OS=linux ARCH=amd64