From 4a0cc9585e299412bd140e3dd6701e9f61c1f679 Mon Sep 17 00:00:00 2001 From: Roger Sikorski Date: Tue, 14 Nov 2023 07:49:51 +0100 Subject: [PATCH] feature/add-ping-dig-and-nslookup --- README.md | 3 +++ dockerfile/alpine | 2 +- dockerfile/ubuntu | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 92f3ffb..3bf8110 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,9 @@ Installed tools: - rsync - mc - nano + - ping + - dig + - nslookup - ubuntu images - unp diff --git a/dockerfile/alpine b/dockerfile/alpine index 28eba9b..d726611 100644 --- a/dockerfile/alpine +++ b/dockerfile/alpine @@ -3,7 +3,7 @@ FROM alpine:3.18 RUN apk update && \ - apk add --no-cache nano mc micro rsync ncdu git curl openssh-client +apk add --no-cache nano mc micro rsync ncdu git curl openssh-client iputils bind-tools COPY ./bin/ /usr/local/bin ENTRYPOINT ["sleep", "infinity"] diff --git a/dockerfile/ubuntu b/dockerfile/ubuntu index 6eda82e..6f5fc33 100644 --- a/dockerfile/ubuntu +++ b/dockerfile/ubuntu @@ -3,7 +3,8 @@ FROM ubuntu:22.04 RUN apt-get update \ - && apt-get install -y nano mc micro rsync ncdu git curl unp \ + && apt-get full-upgrade -y \ + && apt-get install -y nano mc micro rsync ncdu git curl unp iputils-ping dnsutils \ && rm -rf /var/lib/apt/lists/* COPY ./bin/ /usr/local/bin