2.1.7 Compiling code in Docker

View in the book. Buy the book.

Compiling code in a Dockerfile

Build and run

$ cd Chapter02/2.1.7_CompiledCode
$ docker build . -t compiled_code
$ docker run compiled_code
Hello Docker