mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
Some checks failed
CI / 🤖 Check dependabot status (push) Has been cancelled
CI / 🐧 Test on Linux (${{ github.ref_type == 'tag' }}, misc) (push) Has been cancelled
CI / 🐧 Test on Linux (coverage) (push) Has been cancelled
CI / 🐧 Test on Linux (regular) (push) Has been cancelled
CI / ❄️ Build on Nix (push) Has been cancelled
CI / 🍏 Build and test on macOS (push) Has been cancelled
CI / 🧪 End-to-end testing (push) Has been cancelled
CI / 🔍 Upload code coverage (push) Has been cancelled
CI / 🔬 Test only Go (push) Has been cancelled
CI / 🔬 Test only JS (${{ needs.dependabot.outputs.package-ecosystem }}, 20) (push) Has been cancelled
CI / 🔬 Test only JS (${{ needs.dependabot.outputs.package-ecosystem }}, 22) (push) Has been cancelled
CI / 🔬 Test only JS (${{ needs.dependabot.outputs.package-ecosystem }}, 24) (push) Has been cancelled
CI / ⚖️ Check licenses (push) Has been cancelled
CI / 🐋 Build Docker images (push) Has been cancelled
CI / 🐋 Tag Docker images (push) Has been cancelled
CI / 🚀 Publish release (push) Has been cancelled
Build IPinfo geoipupdate image / Build Docker images (push) Has been cancelled
Update Nix dependency hashes / Update dependency hashes (push) Has been cancelled
`make docker` builds the context from a tarball. We don't use git archive as we want to allow local modifications without committing them. This is not unlike nix work. For the other Docker files, use a tailored `.dockerignore`: - dev, ignore everything except bin/akvorado - ipinfo-geoipupdate, ignore everything except the update script - nix, let nix handle it from the Git repository
13 lines
327 B
Docker
13 lines
327 B
Docker
FROM alpine:latest
|
|
|
|
RUN apk add --no-cache curl
|
|
|
|
WORKDIR /data
|
|
VOLUME /data
|
|
|
|
COPY --chmod=555 docker/ipinfo-geoipupdate.sh /usr/local/bin/ipinfo-geoipupdate.sh
|
|
|
|
LABEL org.opencontainers.image.description="IPinfo database updater"
|
|
HEALTHCHECK --interval=20s CMD test -f /tmp/healthy
|
|
CMD ["/usr/local/bin/ipinfo-geoipupdate.sh"]
|