Created
May 30, 2022 13:20
-
-
Save rockyburt/238c878228095aa3c559c2d0a170e600 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG PYTHON_EXACT_VERSION | |
FROM public.ecr.aws/docker/library/python:${PYTHON_EXACT_VERSION}-slim-bullseye | |
RUN \ | |
apt-get update && \ | |
# install apt packages | |
apt-get install --no-install-recommends -y \ | |
build-essential \ | |
# pillow/pil deps | |
libtiff-dev libjpeg62-turbo-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev \ | |
libxml2-dev libxslt-dev \ | |
# psycopg2 deps | |
libpq-dev \ | |
# Poetry deps | |
libffi-dev \ | |
&& \ | |
# update PIP | |
/usr/local/bin/python -m pip install --upgrade pip poetry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment