Day 45 - The anatomy of a dockerfile

This commit is contained in:
Michael Cade
2022-02-13 20:13:44 +00:00
parent 4853a19e93
commit 1ab1111189
12 changed files with 115 additions and 2 deletions

View File

View File

@ -0,0 +1,6 @@
# Use the official Ubuntu 18.04 as base
FROM ubuntu:18.04
# Install nginx and curl
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y nginx curl
RUN rm -rf /var/lib/apt/lists/*