Global Feed Post Login
Replying to Avatar ᴛʜᴇ ᴅᴇᴀᴛʜ ᴏꜰ ᴍʟᴇᴋᴜ

i'm not sure why, usually this kind of problem comes from the go module cache, but the solution that fixes all of the problems is "go mod tidy"

it may have something to do with the particular docker image you build from, but for sure tidy is the general solution

the best way to do this kind of thing in Go in docker is to do this in the docker:

export GOBIN="$HOME/.local/bin"

go install mleku.net/replicatr@latest

some versions of linux don't have that set as a default in $PATH but you can just directly call it $HOME/.local/bin/replicatr

it's not hard to set that stuff up in the dockerfile

Avatar
ᴛʜᴇ ᴅᴇᴀᴛʜ ᴏꜰ ᴍʟᴇᴋᴜ 1y ago

oh, also, it by default exits on first run after creating configuration

also currently it listens on a localhost address but that's probably no big deal unless 4869 is already bound

i had written it to have multiple listeners and for whatever reason that was buggering up the compilation but i'll fix it at some point

Reply to this note

Please Login to reply.

Discussion

No replies yet.