go-cross-build/Dockerfile
2020-08-29 16:32:52 -07:00

11 lines
281 B
Docker

# Debian GNU/Linux 10 (1.13.10-buster)
FROM golang:1.15-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" ]