Sign inSign up

gongarher/python

By gongarher

•Updated about 4 years ago

Image based on python:3.7.3-slim with pandas (and other python libs) compiled for ARM architecture.

Image
0

89

gongarher/python repository overview

⁠Description

Compiled image from python:3.7.3-slim for ARM with some extra libs installed:

  • beautifulsoup4==4.7.1
  • pdf2image==1.16.0
  • PyPDF2==1.26.0
  • requests==2.26.0
  • tweepy==3.10.0
  • pandas==1.3.3
⁠Dockerfile
FROM python:3.7.3-slim

MAINTAINER Gonzalo García <[email protected]>

# TIMEZONE
ENV TZ="Europe/Madrid"

# install zlib & gcc (pillow dependency) -> (pdf2image lib dependency)
RUN apt update && apt install -y poppler-utils gcc g++ zlib1g-dev libjpeg-dev libpng-dev

# Install python libs
RUN pip install --upgrade pip && \
    pip3 install --no-cache-dir \
    beautifulsoup4==4.7.1 \
    pdf2image==1.16.0 \
    PyPDF2==1.26.0 \
    requests==2.26.0 \
    tweepy==3.10.0 \
    pandas==1.3.3

# rm cache
RUN apt remove -y gcc g++ && apt clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/

Tag summary

Content type

Image

Digest

sha256:1079539e1…

Size

182.4 MB

Last updated

about 4 years ago

docker pull gongarher/python:3.7.3-pandas