Closed schnz closed 5 years ago
LGTM, the Dockerfile is indeed out-dated and I haven't got time to update it, please PR this!
You can use scratch
instead of alpine:3.8
to make it even smaller.
You can use
scratch
instead ofalpine:3.8
to make it even smaller.
Good point but it refuses to run if i use scratch
:
standard_init_linux.go:190: exec user process caused "no such file or directory"
Furthermore it wouldn't contain the ca-certificates
package which is important for crawling RSS feeds over HTTPS. Otherwise fetching would fail with
ERRO[0085] [Fefe Blog]: https://blog.fefe.de/rss.xml: Get https://blog.fefe.de/rss.xml: x509: certificate signed by unknown authority
I've pushed some updates to the Dockerfile
in git master, and new docker images will from now on be automatically built on the docker hub (fribbledom/beehive).
I found this repository today and wanted to try beehive. Unfortunately the Dockerfile seems broken as the
go get
command fails. I then tried the image that is hosted on Docker Hub and found that it is over two years old and contains an old binary of beehive.Because of that I created my own Dockerfile for beehive. It uses the Docker multi-stage build feature and results in a MUCH smaller image (24.2 MB compared to 800 MB). Beehive is build with the
embed
option which makes it possible to use a single binary within an alpine container.Feel free to integrate this file to the repository or provide it as an additional alternative to the existing ones.