# Stage 1: Build stage FROM ubuntu AS builder RUN apt-get update \ && apt-get install -y net-tools iputils-ping COPY start.sh / RUN chmod +x /start.sh # Stage 2: Runtime stage FROM ubuntu COPY --from=builder /start.sh / RUN chmod +x /start.sh ENTRYPOINT ["/start.sh"]