remove useless git data, reduse size
This commit is contained in:
parent
a4843430d8
commit
79840d6c13
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user