mirror of
https://github.com/zhigang1992/actions.git
synced 2026-01-12 22:45:39 +08:00
25 lines
609 B
Docker
25 lines
609 B
Docker
FROM python:3.7-alpine
|
|
|
|
LABEL "name"="geojson2csv"
|
|
LABEL "maintainer"="Unacast <developers+github@unacast.com>"
|
|
LABEL "version"="1.0.0"
|
|
|
|
LABEL "com.github.actions.name"="Geojson2csv"
|
|
LABEL "com.github.actions.description"="Convert geojson to csv"
|
|
LABEL "com.github.actions.icon"="truck"
|
|
LABEL "com.github.actions.color"="green"
|
|
|
|
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
|
|
|
|
RUN apk add --no-cache \
|
|
gcc \
|
|
libc-dev \
|
|
geos-dev \
|
|
curl
|
|
|
|
RUN pip install geojson shapely
|
|
|
|
COPY geojson2csv.py /usr/bin/geojson2csv
|
|
RUN chmod +x /usr/bin/geojson2csv
|
|
|
|
CMD ["geojson2csv", "-h"] |