mirror of
https://github.com/MichaelCade/90DaysOfDevOps.git
synced 2025-07-21 13:19:54 +07:00
Day 45 - The anatomy of a dockerfile
This commit is contained in:
0
Days/Containers/.dockerignore
Normal file
0
Days/Containers/.dockerignore
Normal file
6
Days/Containers/Dockerfile
Normal file
6
Days/Containers/Dockerfile
Normal 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/*
|
Reference in New Issue
Block a user