dschep / dschep/geoip-lambda-layer

geolite.maxmind.com (Download source) no longer exists

未关闭
#1 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Dockerfile
星标
44
派生
7
PR 合并指标
30 天内没有已合并 PR

描述

I tried to compile this layer using the provided build script and encountered the following:

```
Step 16/20 : RUN curl http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz | tar xz
---> Running in ecab112a92fb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: geolite.maxmind.com

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c curl http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz | tar xz' returned a non-zero code: 2
```

Checking it with `curl` it seems the files are no longer available at the URL(s) provided:

```
The command '/bin/sh -c curl http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz | tar xz' returned a non-zero code: 2
ubuntu@ip-172-31-25-42:~/geoip-lambda-layer$ curl -v http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
* Could not resolve host: geolite.maxmind.com
* Closing connection 0
curl: (6) Could not resolve host: geolite.maxmind.com
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

从提供的构建脚本和报告中所示的 Step 16 curl 管道开始。验证 GeoLite2-City 的替代下载源及任何必需的访问信息,然后更新构建输入并运行层构建。构建在没有 missing-host、gzip 或 tar 错误的情况下完成,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
docker
领域
build-system
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。