go-cross-build/Dockerfile
Uday Hiwarale a5d76d8d5a release-v1
2020-04-12 00:59:35 +05:30

11 lines
284 B
Docker

# Debian GNU/Linux 10 (1.13.10-buster)
FROM golang:1.13.10-buster
# copy entrypoint file
COPY entrypoint.go /usr/bin/entrypoint.go
# change mode of the entrypoint file
RUN chmod +x /usr/bin/entrypoint.go
# set entrypoint command
ENTRYPOINT [ "go", "run", "/usr/bin/entrypoint.go" ]