Sign inSign up

itsalex/alpine-reflex

By itsalex

Updated over 3 years ago

Alpine container with reflex for development purposes

Image
0

1.2K

itsalex/alpine-reflex repository overview

Docker-alpine-reflex

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:

Build

Without golang:

$ docker build . -t itsalex/alpine-reflex

With golang:

$ docker build -f golang.Dockerfile . -t itsalex/alpine-reflex-with-golang

How to use

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'

License

MIT

Tag summary

Content type

Image

Digest

sha256:e1aa7e064

Size

5.2 MB

Last updated

over 3 years ago

docker pull itsalex/alpine-reflex