From 44bf47edc2c51cd5fb74458395289cdc908c872e Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Tue, 4 Jun 2024 17:47:00 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=83=20Sync=20Hub=20v0.41?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++++ Dockerfile.debian | 4 ++++ install/install_dependencies.debian.sh | 3 +++ 3 files changed, 11 insertions(+) diff --git a/Dockerfile b/Dockerfile index afe05884..5b65698a 100755 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,10 @@ ENV PATH="/opt/venv/bin:$PATH" COPY . ${INSTALL_DIR}/ +# Install gcc and other necessary build tools +RUN apk update \ + && apk add --no-cache build-base + RUN pip install requests paho-mqtt scapy cron-converter pytz json2table dhcp-leases pyunifi speedtest-cli chardet python-nmap dnspython pycryptodome \ && bash -c "find ${INSTALL_DIR} -type d -exec chmod 750 {} \;" \ diff --git a/Dockerfile.debian b/Dockerfile.debian index b501cc00..76c3267f 100755 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -29,6 +29,10 @@ COPY --chmod=775 --chown=${USER_ID}:${USER_GID} . ${INSTALL_DIR}/ # ❗ IMPORTANT - if you modify this file modify the /install/install_dependecies.debian.sh file as well ❗ +# Install gcc and other necessary build tools +RUN apt-get update \ + && apt-get install -y build-essential + RUN apt-get install -y \ tini snmp ca-certificates curl libwww-perl arp-scan perl apt-utils cron sudo \ nginx-light php php-cgi php-fpm php-sqlite3 php-curl sqlite3 dnsutils net-tools \ diff --git a/install/install_dependencies.debian.sh b/install/install_dependencies.debian.sh index 6c88a2c3..4b60a5f9 100755 --- a/install/install_dependencies.debian.sh +++ b/install/install_dependencies.debian.sh @@ -12,6 +12,9 @@ if [[ $EUID -ne 0 ]]; then exit 1 fi +# Install gcc and other necessary build tools +apt-get update && apt-get install -y build-essential + # Install dependencies apt-get install -y \ tini snmp ca-certificates curl libwww-perl arp-scan perl apt-utils cron sudo \