Removed the force IPv4, not required since we use squid via http_proxy

This commit is contained in:
Deon George 2023-05-29 12:35:50 +10:00
parent 9937972d6a
commit 31f1f89ad8

View File

@ -4,8 +4,8 @@
FROM debian:bullseye-slim FROM debian:bullseye-slim
# Base utilities # Base utilities
RUN apt-get -o Acquire::ForceIPv4=true update \ RUN apt-get update \
&& apt-get -o Acquire::ForceIPv4=true install -yqq curl supervisor procps less zip unzip arj unrar-free lhasa arc logrotate cron \ && apt-get install -yqq curl supervisor procps less zip unzip arj unrar-free lhasa arc logrotate cron \
&& apt-get -y autoremove \ && apt-get -y autoremove \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && 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 # Add NNCP
RUN echo "deb http://deb.debian.org/debian bullseye-backports main" > /etc/apt/sources.list.d/backports.list 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 \ RUN apt-get update \
&& apt-get -o Acquire::ForceIPv4=true install -yyq nncp less ssmtp \ && apt-get install -yyq nncp less ssmtp \
&& mkdir /etc/nncp \ && mkdir /etc/nncp \
&& apt-get -y autoremove \ && apt-get -y autoremove \
&& apt-get clean \ && apt-get clean \
@ -46,8 +46,8 @@ RUN apt-get -o Acquire::ForceIPv4=true update \
# && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Build SBBS # Build SBBS
RUN apt-get -o Acquire::ForceIPv4=true update \ RUN apt-get 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 \ && 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 \ && mkdir /opt/sbbs && cd /tmp \
&& wget https://gitlab.synchro.net/sbbs/sbbs/-/raw/master/install/GNUmakefile \ && wget https://gitlab.synchro.net/sbbs/sbbs/-/raw/master/install/GNUmakefile \
&& git clone https://gitlab.com/SynchronetBBS/sbbs.git /opt/sbbs/repo \ && 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/* && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Add PHP # Add PHP
RUN apt-get -o Acquire::ForceIPv4=true update \ RUN apt-get update \
&& apt-get -o Acquire::ForceIPv4=true install -yqq composer php-cgi php-fpm php-gd php-sqlite3 php-xml \ && apt-get install -yqq composer php-cgi php-fpm php-gd php-sqlite3 php-xml \
&& apt-get -y autoremove \ && apt-get -y autoremove \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*