1 2 3 4 5 6 7
FROM ubuntu:bionic WORKDIR /root COPY ping4.sh . RUN chmod +x ping4.sh RUN apt-get update && apt-get install -y iputils-ping