Arrange the lines of a Dockerfile that updates packages inside the image and then installs iputils-ping and net-tools packages. Assume that ENTRYPOINT is the last instruction.
Best practices for writing Dockerfiles
Apply multiple commands
Report a typo
Put the items in the correct order
&& apt-get install net-tools -y
RUN apt-get update -y \
FROM ubuntu:22.04
ENTRYPOINT ["/bin/bash"]
&& apt-get install iputils-ping -y \
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.