jpbetz / auger

Directly access data objects stored in etcd by kubernetes.
Apache License 2.0
386 stars 61 forks source link

Dockerfile for ubuntu #36

Open caruccio opened 2 years ago

caruccio commented 2 years ago

Since original Dockerfile compiles against alpine's musl it creates a binary unusable outside the container. This Dockerfile.ubuntu builds a binary you can copy into your host without the need to install golang at all (which is desirable in a production etcd server).

$ sudo docker build . -t auger:latest -f Dockerfile.ubuntu
$ sudo docker run --rm --entrypoint cat auger:latest /go/bin/auger > auger
$ chmod +x ./auger
$ ./auger -h