remove useless git data, reduse size

This commit is contained in:
Shihaam Abdul Rahman 2023-01-24 08:56:45 +05:00
parent a4843430d8
commit 79840d6c13
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636

View File

@ -20,7 +20,7 @@ RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen \
RUN apt install python3-pip -y RUN apt install python3-pip -y
# clone repo # 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 # change working dir to repo
WORKDIR /opt/netbox WORKDIR /opt/netbox