Update Install silent and dockerfile update

This commit is contained in:
Mạnh Tường Solo 2024-12-22 10:27:26 +07:00 committed by GitHub
parent 68c0355850
commit 309a40612a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -23,8 +23,8 @@ sudo apt-get install libssl-dev libfreetype6-dev python3-numpy -qq
sudo apt-get install protobuf-compiler libprotobuf-dev -qq sudo apt-get install protobuf-compiler libprotobuf-dev -qq
# qrcode # qrcode
sudo apt-get install python3-opencv sudo apt-get install python3-opencv -y
sudo apt-get install libzbar0 sudo apt-get install libzbar0 -y
# DNS deps # DNS deps
sudo apt-get install libadns1 libadns1-dev -qq sudo apt-get install libadns1 libadns1-dev -qq

View file

@ -1,4 +1,4 @@
FROM ubuntu:18.04 FROM ubuntu:22.04
ARG tz_buildtime=Europe/Rome ARG tz_buildtime=Europe/Rome
ENV TZ=$tz_buildtime ENV TZ=$tz_buildtime
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone 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 && apt-get dist-upgrade -y && apt-get autoremove -y
# Install needed packages # 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 libffi-dev libssl-dev libfuzzy-dev wget sudo -y
# Adding sudo command # Adding sudo command