dev_1.0.0_yuyr 完成 log和bind模块开发部署测试 #8
@ -10,7 +10,7 @@ ARG USE_INTRANET=false
|
|||||||
RUN if [ "$USE_INTRANET" = "true" ]; then \
|
RUN if [ "$USE_INTRANET" = "true" ]; then \
|
||||||
echo "Configuring intranet apt sources..." && \
|
echo "Configuring intranet apt sources..." && \
|
||||||
cp /etc/apt/sources.list /etc/apt/sources.list.bak && \
|
cp /etc/apt/sources.list /etc/apt/sources.list.bak && \
|
||||||
echo "deb [trusted=yes] https://10.92.132.52/mirrors/ubuntu2204/ jammy main" > /etc/apt/sources.list && \
|
echo "deb [trusted=yes] http://10.68.64.1/ubuntu2204/ jammy main" > /etc/apt/sources.list && \
|
||||||
echo 'Acquire::https::Verify-Peer "false";' > /etc/apt/apt.conf.d/99disable-ssl-check && \
|
echo 'Acquire::https::Verify-Peer "false";' > /etc/apt/apt.conf.d/99disable-ssl-check && \
|
||||||
echo 'Acquire::https::Verify-Host "false";' >> /etc/apt/apt.conf.d/99disable-ssl-check; \
|
echo 'Acquire::https::Verify-Host "false";' >> /etc/apt/apt.conf.d/99disable-ssl-check; \
|
||||||
fi
|
fi
|
||||||
|
@ -10,7 +10,7 @@ ARG USE_INTRANET=false
|
|||||||
RUN if [ "$USE_INTRANET" = "true" ]; then \
|
RUN if [ "$USE_INTRANET" = "true" ]; then \
|
||||||
echo "Configuring intranet apt sources..." && \
|
echo "Configuring intranet apt sources..." && \
|
||||||
cp /etc/apt/sources.list /etc/apt/sources.list.bak && \
|
cp /etc/apt/sources.list /etc/apt/sources.list.bak && \
|
||||||
echo "deb [trusted=yes] https://10.92.132.52/mirrors/ubuntu2204/ jammy main" > /etc/apt/sources.list && \
|
echo "deb [trusted=yes] http://10.68.64.1/ubuntu2204/ jammy main" > /etc/apt/sources.list && \
|
||||||
echo 'Acquire::https::Verify-Peer "false";' > /etc/apt/apt.conf.d/99disable-ssl-check && \
|
echo 'Acquire::https::Verify-Peer "false";' > /etc/apt/apt.conf.d/99disable-ssl-check && \
|
||||||
echo 'Acquire::https::Verify-Host "false";' >> /etc/apt/apt.conf.d/99disable-ssl-check; \
|
echo 'Acquire::https::Verify-Host "false";' >> /etc/apt/apt.conf.d/99disable-ssl-check; \
|
||||||
fi
|
fi
|
||||||
|
@ -48,7 +48,7 @@ echo "ARGUS Log System - Image Build Tool"
|
|||||||
echo "======================================="
|
echo "======================================="
|
||||||
|
|
||||||
if [[ "$use_intranet" == true ]]; then
|
if [[ "$use_intranet" == true ]]; then
|
||||||
echo "🌐 Mode: Intranet (Using internal mirror: 10.92.132.52)"
|
echo "🌐 Mode: Intranet (Using internal mirror: 10.68.64.1)"
|
||||||
build_args="--build-arg USE_INTRANET=true"
|
build_args="--build-arg USE_INTRANET=true"
|
||||||
else
|
else
|
||||||
echo "🌐 Mode: Public (Using default package sources)"
|
echo "🌐 Mode: Public (Using default package sources)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user