zipusyan commited on
Commit
fbcc9a7
·
verified ·
1 Parent(s): 8a4be41

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -13,7 +13,8 @@ RUN apk add --no-cache \
13
  php82-iconv php82-posix php82-pcntl \
14
  supervisor \
15
  curl unzip \
16
- && ln -sf /usr/bin/php82 /usr/bin/php
 
17
 
18
  # Download dnsmgr release
19
  RUN curl -fSL -o /tmp/dnsmgr.zip https://github.com/netcccyun/dnsmgr/releases/download/2.18/dnsmgr_2.18.zip \
 
13
  php82-iconv php82-posix php82-pcntl \
14
  supervisor \
15
  curl unzip \
16
+ && ln -sf /usr/bin/php82 /usr/bin/php \
17
+ && sed -i 's/skip-networking/#skip-networking/' /etc/my.cnf.d/mariadb-server.cnf
18
 
19
  # Download dnsmgr release
20
  RUN curl -fSL -o /tmp/dnsmgr.zip https://github.com/netcccyun/dnsmgr/releases/download/2.18/dnsmgr_2.18.zip \