update
parent
6b6ad975f3
commit
b8a4b13d5f
14
Dockerfile
14
Dockerfile
|
@ -10,13 +10,13 @@ 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}] \
|
,"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
|
,"hide_config":true}' > conf.json
|
||||||
|
|
||||||
RUN echo 'package main \
|
RUN echo 'package main\n\
|
||||||
\
|
\n\
|
||||||
import "fmt" \
|
import "fmt"\n\
|
||||||
\
|
\n\
|
||||||
func main() { \
|
func main() {\n\
|
||||||
fmt.Println("Hello, world.") \
|
fmt.Println("Hello, world.")\n\
|
||||||
}' > main.go
|
}\n' > main.go
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue