mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 11:07:06 +00:00
(improvement)(project) Resolve the issue of failing to access external domain names from within the container. (#1305)
This commit is contained in:
@@ -17,6 +17,12 @@ RUN apt-get update && \
|
||||
apt-get install -y vim && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Update the package list and install iputils-ping.
|
||||
RUN apt-get update && apt-get install -y iputils-ping
|
||||
|
||||
# 更新包列表并安装 dnsutils 包
|
||||
RUN apt-get update && apt-get install -y dnsutils
|
||||
|
||||
# Copy the supersonic standalone zip file into the container
|
||||
COPY assembly/build/supersonic-standalone-${SUPERSONIC_VERSION}.zip .
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@ services:
|
||||
networks:
|
||||
- supersonic_network
|
||||
dns:
|
||||
- 114.114.114.114
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
|
||||
@@ -36,6 +37,7 @@ services:
|
||||
fi
|
||||
"
|
||||
dns:
|
||||
- 114.114.114.114
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
|
||||
@@ -49,6 +51,7 @@ services:
|
||||
networks:
|
||||
- supersonic_network
|
||||
dns:
|
||||
- 114.114.114.114
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
|
||||
@@ -69,6 +72,7 @@ services:
|
||||
networks:
|
||||
- supersonic_network
|
||||
dns:
|
||||
- 114.114.114.114
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user