August 2018
Intermediate to advanced
352 pages
12h 30m
English
#include <stdio.h>void main(){ printf("This is a Docker multistage build demo\n");}
FROM gcc:7.2 AS builderCOPY src /srcRUN gcc -static -o /src/app /src/app.c && strip -R .comment -s /src/appFROM scratchCOPY --from=builder /src/app .CMD ["./app"]
Read now
Unlock full access