Intro to Building Container Images with Dockerfiles

Introducing Dockerfiles

FROM alpine:latest
LABEL maintainer=”Russ McKendrick <russ@mckendrick.io>”
LABEL description=”This example Dockerfile installs NGINX.”
RUN apk add --update nginx && \
rm -rf /var/cache/apk/* && \
mkdir -p /tmp/nginx/…

--

--

--

XR Developer at HookBang | https://github.com/sitting-duck

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

SQL (ACID) or NoSQL(BASE)

Sending Push Notifications to the iOS Simulator

Bringing back issues without epics — Easy Agile User Story Maps Version 5

Multiplier Finance Successfully Audits A Batch Of Smart-Contracts With CertiK

Gitlab CI: Build & push Docker image to AWS ECR, Deploy to EKS.

Kafka cluster on Amezon EKS Cluster

How can JAVA Performance tuning speed up applications?

How we manage clients & their expectations

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ashley Gelwix

Ashley Gelwix

XR Developer at HookBang | https://github.com/sitting-duck

More from Medium

İnstall Nextcloud24 on Docker For Linux

REDIS Installation on Linux Server

Using a Dockerfile, Saving and Image, and Using the Interactive Terminal

Assign a fixed IP address to a container in Docker-Compose