Fix install-deps inside Docker

pull/402/head
Dmitry Ilyin 2022-08-24 07:57:07 +03:00
parent 020935a729
commit da04e66c0c
1 changed files with 3 additions and 2 deletions

View File

@ -56,8 +56,9 @@ $(BR_DIR): $(ROOT_DIR)/buildroot-$(BR_VER).tar.gz
install-deps:
DEBIAN_FRONTEND=noninteractive sudo apt-get update && \
sudo apt-get -y install build-essential make libncurses-dev wget cpio rsync bc
if [ ! -f /.dockerenv ]; then SUDO=sudo; fi
DEBIAN_FRONTEND=noninteractive $(SUDO) apt-get update && \
$(SUDO) apt-get -y install build-essential make libncurses-dev wget cpio rsync bc
%_info: