1 2 3 4 5 6 7
FROM ubuntu:bionic WORKDIR /root COPY . . RUN apt-get update && apt-get install -y gcc RUN gcc -O2 -o test test.c