Skip to content

Commit 80252c8

Browse files
committed
fix build
1 parent 0313d43 commit 80252c8

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN bash /root/bin/dummycert.sh \
4747
&& mkdir -p /app-start/etc \
4848
&& mv /etc/nginx /app-start/etc/nginx \
4949
&& rm -rf /etc/nginx \
50-
&& cd /app-start/etc/nginx \
50+
&& cd /app-start/etc/nginx/geolite2 \
5151
&& bash geoip2-download.sh \
5252
&& ln -s /app/etc/nginx /etc/nginx \
5353
&& mkdir -p /app-start/var/log \

files/sbin/my_init

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,5 @@ fi
2727
# Dynamically generate resolvers file, if resolver is IPv6, enclose in `[]`
2828
echo resolver "$(awk 'BEGIN{ORS=" "} $1=="nameserver" { sub(/%.*$/,"",$2); print ($2 ~ ":")? "["$2"]": $2}' /etc/resolv.conf) ipv6=off valid=10s;" > /etc/nginx/include/resolvers.conf
2929

30-
echo "*** downloading geolite2"
31-
bash /etc/nginx/geolite2/geoip2-download.sh
32-
3330
echo "*** Running /root/bin/my-startup.sh..."
3431
bash /root/bin/my-startup.sh

0 commit comments

Comments
 (0)