From 79840d6c1319f878cc31bb22c0d02f6c5625c3be Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Tue, 24 Jan 2023 08:56:45 +0500 Subject: [PATCH] remove useless git data, reduse size --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 94eb292..8fa2ead 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen \ RUN apt install python3-pip -y # clone repo -RUN git clone https://github.com/netbox-community/netbox.git /opt/netbox +RUN git clone -b master --depth 1 https://github.com/netbox-community/netbox.git /opt/netbox # change working dir to repo WORKDIR /opt/netbox