https://rancher.com/ logo
Title
p

polite-engineer-55788

02/05/2023, 10:09 AM
is it possible to build k3s binary without using docker ?
when I do go install I get the error
go: <http://github.com/k3s-io/k3s/cmd/k3s@v1.26.1+k3s1|github.com/k3s-io/k3s/cmd/k3s@v1.26.1+k3s1> (in <http://github.com/k3s-io/k3s@v1.26.2-0.20230119155632-f10af367c3c9|github.com/k3s-io/k3s@v1.26.2-0.20230119155632-f10af367c3c9>):
        The go.mod file for the module providing named packages contains one or
        more replace directives. It must not contain directives that would cause
        it to be interpreted differently than if it were the main module.
I just want the
k3s
binary to built and dont want to use the
install.sh
a

agreeable-oil-87482

02/05/2023, 12:30 PM
You can download the binary from the releases page in github
p

polite-engineer-55788

02/05/2023, 2:10 PM
for some checks and test I wan to build the binary myself, is that not possible w/o docker ?
a

agreeable-oil-87482

02/05/2023, 2:24 PM
Not via the official documented method. Dapper appears to be wrapper around Docker which is used in the makefile
p

polite-engineer-55788

02/06/2023, 3:01 AM
ok thank you @agreeable-oil-87482