Full Build Pipeline
Part of the Introduction to Docker section of Coddy's Terminal journey — lesson 39 of 40.
Challenge
MediumRun a complete image pipeline from scratch. A file named version.txt is in your directory. Run these commands one after the other:
- Write a Dockerfile:
FROM alpine,WORKDIR /app,COPY version.txt /app/version.txt,CMD ["cat", "/app/version.txt"] - Build it tagged
release:final - Run it so the version prints
Try it yourself
Terminal