diff --git a/Dockerfile b/Dockerfile index 607a93f..edcaca9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,8 @@ FROM debian:bullseye-slim # Base utilities -RUN apt-get -o Acquire::ForceIPv4=true update \ - && apt-get -o Acquire::ForceIPv4=true install -yqq curl supervisor procps less zip unzip arj unrar-free lhasa arc logrotate cron \ +RUN apt-get update \ + && apt-get install -yqq curl supervisor procps less zip unzip arj unrar-free lhasa arc logrotate cron \ && apt-get -y autoremove \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* @@ -16,8 +16,8 @@ RUN ln -sf /usr/share/zoneinfo/Australia/Melbourne /etc/localtime # Add NNCP RUN echo "deb http://deb.debian.org/debian bullseye-backports main" > /etc/apt/sources.list.d/backports.list -RUN apt-get -o Acquire::ForceIPv4=true update \ - && apt-get -o Acquire::ForceIPv4=true install -yyq nncp less ssmtp \ +RUN apt-get update \ + && apt-get install -yyq nncp less ssmtp \ && mkdir /etc/nncp \ && apt-get -y autoremove \ && apt-get clean \ @@ -46,8 +46,8 @@ RUN apt-get -o Acquire::ForceIPv4=true update \ # && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # Build SBBS -RUN apt-get -o Acquire::ForceIPv4=true update \ - && apt-get -o Acquire::ForceIPv4=true install -yqq git build-essential autoconf2.13 libnspr4-dev libncurses5-dev libncursesw5-dev libarchive-dev wget python2.7 pkgconf libcap2-bin sudo libarchive13 libnspr4 \ +RUN apt-get update \ + && apt-get install -yqq git build-essential autoconf2.13 libnspr4-dev libncurses5-dev libncursesw5-dev libarchive-dev wget python2.7 pkgconf libcap2-bin sudo libarchive13 libnspr4 \ && mkdir /opt/sbbs && cd /tmp \ && wget https://gitlab.synchro.net/sbbs/sbbs/-/raw/master/install/GNUmakefile \ && git clone https://gitlab.com/SynchronetBBS/sbbs.git /opt/sbbs/repo \ @@ -67,8 +67,8 @@ RUN apt-get -o Acquire::ForceIPv4=true update \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # Add PHP -RUN apt-get -o Acquire::ForceIPv4=true update \ - && apt-get -o Acquire::ForceIPv4=true install -yqq composer php-cgi php-fpm php-gd php-sqlite3 php-xml \ +RUN apt-get update \ + && apt-get install -yqq composer php-cgi php-fpm php-gd php-sqlite3 php-xml \ && apt-get -y autoremove \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*