December 2017
Intermediate to advanced
404 pages
9h 28m
English
Both the event and booking service are Go applications that are compiled into single executable binaries. For this reason, it is not necessary to include any kind of source files or even the Go tool chain in the Docker image.
It is important to note at this point that you will need compiled Linux binaries of your Go applications for the next steps. When on macOS or Windows, you will need to set the GOOS environment variable when invoking go build:
$ GOOS=linux go build
On macOS and Linux, you can check for the correct binary type using the file command. For a Linux ELF binary, the file command should print a output similar to the following:
$ file eventservice eventservice: ELF 64-bit executable, ...
Read now
Unlock full access