Skip to content

Commit 79af9b7

Browse files
authored
fix: geoip
1 parent 36ccf75 commit 79af9b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/dockerimage.yml

-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ jobs:
3636
- id: test
3737
name: Test
3838
run: |
39-
docker volume create usr-share-geoip
40-
docker run --rm --name geoipupdate -v usr-share-geoip:/usr/share/GeoIP -e GEOIPUPDATE_FREQUENCY=0 -e GEOIPUPDATE_ACCOUNT_ID='${{ secrets.GEOIPUPDATE_ACCOUNT_ID }}' -e GEOIPUPDATE_LICENSE_KEY='${{ secrets.GEOIPUPDATE_LICENSE_KEY }}' -e GEOIPUPDATE_EDITION_IDS='GeoLite2-City GeoLite2-Country' maxmindinc/geoipupdate
4139
docker run --rm --name nginx gokaygurcan/nginx nginx -V
4240
4341
- id: login

Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ RUN set -ex && \
159159
echo "✓" | tee /usr/local/nginx/html/index.html && \
160160
# Diffie-Hellman
161161
openssl dhparam -dsaparam -out /etc/nginx/dhparam.pem 4096 && \
162+
# configure dynamic linker run-time bindings
163+
ldconfig -v && \
162164
# clean up
163165
rm /etc/nginx/*.default && \
164166
apt-get autoclean -yqq && \

0 commit comments

Comments
 (0)