lobaro / restic-backup-docker

A docker container to automate backups with restic
Apache License 2.0
345 stars 113 forks source link

slim down docker image #7

Closed jeanlucmongrain closed 7 years ago

jeanlucmongrain commented 7 years ago

If you're interested to release a smaller docker image.

niondir commented 7 years ago

Basically a smaller image is nice. But this way we would need a go installation on the root system. I like to avoid that dependency. We could just remove golang and all unnecessary files from the container after building resitc to slim down the container.

Another point is that the run script got a little bit complex. I prefer a simple setup via docker-compose.

jeanlucmongrain commented 7 years ago

Basically a smaller image is nice. But this way we would need a go installation on the root system.

only the host that build the image need Go installation, not the docker host that run it

like https://github.com/restic/restic/pull/1061/files#diff-c0d65d2fb9fff450085d1f1a44ca5bb1R6

niondir commented 7 years ago

Yea right. Currently I rely on https://hub.docker.com - They just build the Docker file as far as I see. Or is there any way to build the container via the build.sh script on docker hub?