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}] \
|
||||
,"hide_config":true}' > conf.json
|
||||
|
||||
RUN echo 'package main \
|
||||
\
|
||||
import "fmt" \
|
||||
\
|
||||
func main() { \
|
||||
fmt.Println("Hello, world.") \
|
||||
}' > main.go
|
||||
RUN echo 'package main\n\
|
||||
\n\
|
||||
import "fmt"\n\
|
||||
\n\
|
||||
func main() {\n\
|
||||
fmt.Println("Hello, world.")\n\
|
||||
}\n' > main.go
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue