Compare commits

..

No commits in common. "master" and "1.7" have entirely different histories.
master ... 1.7

3 changed files with 19 additions and 17 deletions

View File

@ -3,7 +3,6 @@
Установлено московское время
Установлены программы:
* curl
* wget
* nano
* telnet

View File

@ -1,7 +1,6 @@
FROM ubuntu:22.04
VOLUME /usr /lib /etc /var /bin /home /opt
FROM ubuntu:20.04
VOLUME /usr /lib /etc /var /bin /home
CMD /bin/bash
ADD https://git.dfosd.synology.me/docker/ubuntu-base/raw/branch/master/setup_programs.sh /setup_programs.sh
RUN chmod +x /setup_programs.sh
RUN /setup_programs.sh

View File

@ -1,17 +1,21 @@
#!/bin/sh
#!/bin/sh
# Update Software repository
apt update
apt full-upgrade -y
# Update Software repository
apt update
apt full-upgrade -y
# Install base soft
apt install -y curl wget nano telnet iputils-ping net-tools
# Install base soft
apt install -y wget
apt install -y nano
apt install -y telnet
apt install -y iputils-ping
apt install -y net-tools
# Setup timezone
## set noninteractive installation
export DEBIAN_FRONTEND=noninteractive
## install tzdata package
apt update && apt install -y tzdata
## set Moscow timezone
ln -fs /usr/share/zoneinfo/Europe/Moscow /etc/localtime
# Setup timezone
## set noninteractive installation
export DEBIAN_FRONTEND=noninteractive
## install tzdata package
apt update && apt-get install -y tzdata
## set Moscow timezone
ln -fs /usr/share/zoneinfo/Europe/Moscow /etc/localtime
dpkg-reconfigure --frontend noninteractive tzdata