john30 / ebusd

daemon for communication with eBUS heating systems
GNU General Public License v3.0
560 stars 130 forks source link

Docker image rather big #258

Closed lukicsl closed 5 years ago

lukicsl commented 5 years ago

I have built a docker image from ebusd/contrib/docker/release for armhf. I was suprised how big the resulting image is: 150MB

looking at the Dockerfile I see that possibly to much is installed at the start off:

RUN apt-get update && apt-get install -y \
    logrotate libmosquitto1 libstdc++6 libc6 libgcc1 \
    curl \
    && rm -rf /var/lib/apt/lists/*

is libstdc++6 libc6 libgcc1 curlneeded for runtime?

john30 commented 5 years ago

the libs are needed for running the binary. curl is needed for downloading the binary from git