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