Skip to content

Create a docker image for the golang CompileDaemon to allow hot reloading of local code.

Notifications You must be signed in to change notification settings

eoinmcq/CompileDaemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

compiledaemon

Docker image for running the golang CompileDaemon against code mounted in a volume without needing to build any extra images.

compiledaemon

Version: 1.2.1

Go

Version: 1.15.7-alpine

Build

docker build -t=emcquill/compiledaemon:latest .

Running

docker

docker run --rm -w="/app" --mount type=bind,source="$(pwd)",target=/app emcquill/compiledaemon:latest CompileDaemon --build="go build -o binary" --command="./binary"

docker-compose

compiledaemon:
  image: emcquill/compiledaemon:latest
  working_dir: /app
  volumes:
    - ./:/app
  ports:
    - 8088:8088
  command: CompileDaemon --build="go build -o binary" --command="./binary"

About

Create a docker image for the golang CompileDaemon to allow hot reloading of local code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published