chore(docker): update Docker and docker-compose configurations for Arvan Cloud integration and add mirror settings
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -4,15 +4,9 @@ WORKDIR /var/www/html
|
||||
ENV COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
COPY docker/php/install-php-extensions /usr/local/bin/install-php-extensions
|
||||
COPY docker/apt/debian.sources /etc/apt/sources.list.d/debian.sources
|
||||
|
||||
RUN if [ -f /etc/apt/sources.list.d/debian.sources ]; then \
|
||||
sed -i \
|
||||
-e 's|https\?://deb\.debian\.org/debian|http://mirror.arvancloud.ir/debian|g' \
|
||||
-e 's|https\?://security\.debian\.org/debian-security|http://mirror.arvancloud.ir/debian|g' \
|
||||
-e 's| bookworm-updates||g' \
|
||||
/etc/apt/sources.list.d/debian.sources; \
|
||||
fi \
|
||||
&& apt-get -o Acquire::Check-Valid-Until=false update \
|
||||
RUN apt-get -o Acquire::Check-Valid-Until=false update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
curl \
|
||||
default-mysql-client \
|
||||
|
||||
Reference in New Issue
Block a user