Base libpostal Docker images built on Alpine Linux.
Versions v1.0.0 and v1.1-alpha – built on Alpine Linux.
All versions use sleekybadger/libpostal repository, but each version aligns with the following tags:
latest
1.1-alpine
1.1-alpha-alpine
1.0-alpine
1.0.0-alpine
Using libpostal image to install pypostal package:
FROM sleekybadger/libpostal:1.1-alpha-alpine as libpostal-build
FROM python:3.7.1-alpine
COPY --from=libpostal-build /data /data
COPY --from=libpostal-build /usr/lib/libpostal.so /usr/lib/libpostal.so
COPY --from=libpostal-build /usr/lib/libpostal.so.1 /usr/lib/libpostal.so.1
COPY --from=libpostal-build /usr/include/libpostal /usr/include/libpostal
RUN apk add --no-cache build-base
RUN pip install postal
CMD ["python"]
docker-libpostal is released under the MIT license.
Thanks to:
- @mhart and his alpine-node
- @dnephin and his dobi
(ノ◕ヮ◕)ノ*:・゚✧