Alpine container with reflex for development purposes
1.2K
An alpine container with reflex inside it to dev with docker. With or without golang.
You can use this container to launch and auto-refresh your service in a container.
Docker images:
Without golang:
$ docker build . -t itsalex/alpine-reflex
With golang:
$ docker build -f golang.Dockerfile . -t itsalex/alpine-reflex-with-golang
You can use it for example to watch binary:
docker exec -it itsalex/alpine-reflex reflex -r '/usr/bin/custom_binary' -s -- sh -c '/usr/bin/custom_binary'
Or to watch golang files:
docker exec -it itsalex/alpine-reflex-with-golang:1.20.3-alpine3.17 reflex -r '\.go' -s -- sh -c 'go run main.go'
Content type
Image
Digest
sha256:e1aa7e064…
Size
5.2 MB
Last updated
over 3 years ago
docker pull itsalex/alpine-reflex