sethforprivacy / simple-monerod-docker

A simple and straightforward Dockerized monerod built from source and exposing standard ports.
https://sethforprivacy.com/guides/run-a-monero-node/
MIT License
98 stars 19 forks source link

Migrate builder/base image to Alpine 3.15 #23

Closed sethforprivacy closed 2 years ago

sethforprivacy commented 2 years ago

This PR migrates the image from a base image of Ubuntu 20.04LTS to Alpine 3.15, greatly reducing image size.

Image sizes on disk:

sethsimmons/simple-monerod      alpine              e712935cf4c1   About an hour ago   33.8MB
sethsimmons/simple-monerod      latest              d5be79cab38f   31 hours ago        115MB

There are also some other changes that improve build times and remove unnecessary dependencies.

sethforprivacy commented 2 years ago

You can ignore the "failed" builds, I just cancelled them all as I didn't want this pushing to Docker Hub yet.

sethforprivacy commented 2 years ago

The built images for the Alpine version can be found at:

https://hub.docker.com/layers/sethsimmons/simple-monerod/alpine/images/sha256-b007a37055bc29c62424f92a696ada837f8708c47dbad399a6d071757564bfea?context=explore

And pulled via:

docker pull sethsimmons/simple-monerod:alpine