完善docker compose一键部署
This commit is contained in:
@@ -9,7 +9,7 @@ RUN sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list \
|
||||
&& apt update \
|
||||
&& apt install -y software-properties-common \
|
||||
&& add-apt-repository -y ppa:ondrej/php \
|
||||
&& sed -i 's/ppa.launchpad.net/launchpad.proxy.ustclug.org/g' /etc/apt/sources.list.d/ondrej-ubuntu-php-jammy.list \
|
||||
&& sed -i 's/ppa.launchpadcontent.net/launchpad.proxy.ustclug.org/g' /etc/apt/sources.list.d/ondrej-ubuntu-php-jammy.list \
|
||||
&& apt update \
|
||||
&& apt install -y --no-install-recommends \
|
||||
make \
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
services:
|
||||
scada:
|
||||
build:
|
||||
context: .
|
||||
container_name: edge_manager
|
||||
image: edge_manager
|
||||
network_mode: host
|
||||
|
||||
Reference in New Issue
Block a user