Pin Base Images by Digest
Labs have no container engine, so nothing is built: your files are checked by reading them.
Two builds of feed-builder from the same commit produced different images: the alpine:3.20 tag had been moved to a new image in between. Security reviewed specific images and listed their digests in /home/student/projects/feed-builder/digests.txt.
In /home/student/projects/feed-builder/Dockerfile, pin every image the build pulls (both FROM lines and the image used by COPY --from) to its reviewed digest, in the form name:tag@sha256:<digest> (keep the tag for readability). Change nothing else.
About this machine
Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.
Part of Docker Fundamentals. Next step: The Build Runs in the Wrong Directory
Teaching or writing about this? Embed this lab on your page
Your machine is ready to start
A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.
No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.