Add Golang
This commit is contained in:
parent
0fa062875b
commit
6d283cb3df
4 changed files with 20 additions and 0 deletions
5
docker/go/Dockerfile
Normal file
5
docker/go/Dockerfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
FROM golang:alpine
|
||||
LABEL author="1Computer1"
|
||||
|
||||
COPY run.sh /var/run/
|
||||
WORKDIR /var/ws
|
2
docker/go/run.sh
Normal file
2
docker/go/run.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
echo "$1" > program.go
|
||||
go run program.go
|
Loading…
Add table
Add a link
Reference in a new issue