FROM golang:1.17.2 RUN curl -fsSL https://kumoly.io/attachments/a8b503db-8067-4323-9d1d-bc6e616af452 | tar -C /usr/local/bin/ -xz WORKDIR /src RUN touch shell.sh RUN echo '{"app_name":"Go Playground","no_reconfig":true \ ,"files":[{"path":"main.go","name":"Main","action":"go run main.go","order":-1},{"path":"shell.sh","name":"Shell","action":"bash shell.sh","order":1}] \ ,"hide_config":true}' > conf.json RUN echo 'package main \ \ import "fmt" \ \ func main() { \ fmt.Println("Hello, world.") \ }' > main.go CMD [ "configui", "-log", "configui.log", "-f","conf.json" ]