diff --git a/lcthw-remnants-2/Dockerfile b/lcthw-remnants-2/Dockerfile index 14960d9..7e4b38c 100644 --- a/lcthw-remnants-2/Dockerfile +++ b/lcthw-remnants-2/Dockerfile @@ -3,4 +3,12 @@ FROM ubuntu:xenial ENV DEBIAN_FRONTEND noninteractive RUN apt-get update -yq -RUN apt-get install -yq build-essential git man curl file sudo vim-tiny +RUN apt-get install -yq \ + build-essential \ + curl \ + file \ + gdb \ + git \ + man \ + sudo \ + vim-tiny diff --git a/lcthw-remnants-2/ex31.c b/lcthw-remnants-2/ex31.c new file mode 100644 index 0000000..1b62ea5 --- /dev/null +++ b/lcthw-remnants-2/ex31.c @@ -0,0 +1,12 @@ +#include + +int main(int argc, char *argv[]) +{ + int i = 0; + + while(i < 100) { + usleep(3000); + } + + return 0; +}