diff --git a/Dockerfile b/Dockerfile index 61bb0c84cf9..e21d753fe0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,6 +46,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \ libunistring-dev \ lzip \ mercurial \ + moreutils \ ncurses-dev \ ninja-build \ php \ @@ -55,13 +56,17 @@ RUN apt-get update && apt-get install --no-install-recommends -y \ rename \ scons \ subversion \ + sudo \ swig \ texinfo \ unzip \ xmlto \ zlib1g-dev && \ apt-get clean && \ - rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ + adduser --disabled-password --gecos '' user && \ + adduser user sudo && \ + echo "%users ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/users # Install setuptools, wheel and pip for Python3 RUN wget https://bootstrap.pypa.io/get-pip.py -O - | python3 diff --git a/README.rst b/README.rst index fff3cdc71b4..2f6f9065390 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ DSM 7 ===== -DSM 7 was release on June 29 2021 as Version 7.0.41890. +DSM 7 was released on June 29 2021 as Version 7.0.41890. In SynoCommunity some packages are available for DSM 7 but some are not. @@ -72,7 +72,7 @@ A virtual machine based on an 64-bit version of Debian 10 stable OS is recommend sudo dpkg --add-architecture i386 && sudo apt-get update sudo apt update - sudo apt install autoconf-archive autogen automake bc bison build-essential check cmake curl cython debootstrap ed expect fakeroot flex g++-multilib gawk gettext git gperf imagemagick intltool jq libbz2-dev libc6-i386 libcppunit-dev libffi-dev libgc-dev libgmp3-dev libltdl-dev libmount-dev libncurses-dev libpcre3-dev libssl-dev libtool libunistring-dev lzip mercurial ncurses-dev ninja-build php pkg-config python3 python3-distutils rename scons subversion swig texinfo unzip xmlto zlib1g-dev + sudo apt install autoconf-archive autogen automake bc bison build-essential check cmake curl cython debootstrap ed expect fakeroot flex g++-multilib gawk gettext git gperf imagemagick intltool jq libbz2-dev libc6-i386 libcppunit-dev libffi-dev libgc-dev libgmp3-dev libltdl-dev libmount-dev libncurses-dev libpcre3-dev libssl-dev libtool libunistring-dev lzip mercurial moreutils ncurses-dev ninja-build php pkg-config python3 python3-distutils rename scons subversion sudo swig texinfo unzip xmlto zlib1g-dev wget https://bootstrap.pypa.io/pip/2.7/get-pip.py -O - | sudo python2 sudo pip2 install wheel httpie wget https://bootstrap.pypa.io/get-pip.py -O - | sudo python3