readium / go-toolkit

A toolkit for ebooks, audiobooks and comics written in Go

Home Page:https://readium.org/web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Creating a Docker container for `rwp`

mickael-menu opened this issue · comments

It could be useful to offer a Docker image for Docker Hub to let people use rwp without installing it on their system.

This could be used: https://github.com/GoogleContainerTools/distroless/blob/main/base/README.md

Go-specific example (multi-stage Docker images / containers, one with all required build toolchain, one to execute in a minimal distroless sandbox):

https://github.com/GoogleContainerTools/distroless/blob/main/examples/go/Dockerfile

Also, a very useful "debug" extension in order to hookup a shell (for validating tests, for example):

https://github.com/GoogleContainerTools/distroless#debug-images