Apply multiple commands

Report a typo

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.

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 \
___

Create a free account to access the full topic