File: Dockerfile

package info (click to toggle)
geoipupdate 7.1.1-1
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 432 kB
  • sloc: sh: 103; makefile: 70; perl: 51
file content (12 lines) | stat: -rw-r--r-- 341 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
FROM alpine:3

RUN apk update && apk add jq

COPY geoipupdate /usr/bin/geoipupdate
COPY docker/entry.sh /usr/bin/entry.sh
COPY docker/healthcheck.sh /usr/bin/healthcheck.sh

ENTRYPOINT ["/usr/bin/entry.sh"]
HEALTHCHECK --interval=10s --timeout=10s CMD [ "/usr/bin/healthcheck.sh" ]
VOLUME [ "/usr/share/GeoIP" ]
WORKDIR /var/lib/geoipupdate