Menu
Coddy logo textTech

Full Build Pipeline

Part of the Introduction to Docker section of Coddy's Terminal journey — lesson 39 of 40.

challenge icon

Challenge

Medium

Run a complete image pipeline from scratch. A file named version.txt is in your directory. Run these commands one after the other:

  1. Write a Dockerfile: FROM alpine, WORKDIR /app, COPY version.txt /app/version.txt, CMD ["cat", "/app/version.txt"]
  2. Build it tagged release:final
  3. Run it so the version prints

Try it yourself

Terminal

All lessons in Introduction to Docker