From 309a40612a8ccbaa09d0117cf542eebb367624e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=E1=BA=A1nh=20T=C6=B0=E1=BB=9Dng=20Solo?= <41409442+vncloudsco@users.noreply.github.com> Date: Sun, 22 Dec 2024 10:27:26 +0700 Subject: [PATCH] Update Install silent and dockerfile update --- installing_deps.sh | 4 ++-- other_installers/docker/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/installing_deps.sh b/installing_deps.sh index aa550c33..3249ae78 100755 --- a/installing_deps.sh +++ b/installing_deps.sh @@ -23,8 +23,8 @@ sudo apt-get install libssl-dev libfreetype6-dev python3-numpy -qq sudo apt-get install protobuf-compiler libprotobuf-dev -qq # qrcode -sudo apt-get install python3-opencv -sudo apt-get install libzbar0 +sudo apt-get install python3-opencv -y +sudo apt-get install libzbar0 -y # DNS deps sudo apt-get install libadns1 libadns1-dev -qq diff --git a/other_installers/docker/Dockerfile b/other_installers/docker/Dockerfile index 782571ab..3f63372b 100644 --- a/other_installers/docker/Dockerfile +++ b/other_installers/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:18.04 +FROM ubuntu:22.04 ARG tz_buildtime=Europe/Rome ENV TZ=$tz_buildtime RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone @@ -8,7 +8,7 @@ RUN apt-get clean && apt-get update -y && apt-get upgrade -y \ && apt-get dist-upgrade -y && apt-get autoremove -y # Install needed packages -RUN apt-get install git python-dev build-essential \ +RUN apt-get install git python3-dev build-essential \ libffi-dev libssl-dev libfuzzy-dev wget sudo -y # Adding sudo command