Coder Social home page Coder Social logo

Comments (1)

vincentsarago avatar vincentsarago commented on June 12, 2024

pgstac

size: 567Mb

ARG PG_VERSION=13

FROM postgis:${PG_VERSION}-3.1

LABEL maintainer="David Bitner"

RUN mkdir -p /docker-entrypoint-initdb.d
COPY sql/ sql/
COPY pgstac.sql /docker-entrypoint-initdb.d/pgstac.sql

EXPOSE 5432

pypgstac

size: 624Mb

ARG PYTHON_VERSION=3.9

FROM python:${PYTHON_VERSION}-slim

LABEL maintainer="David Bitner"

RUN apt-get update && apt-get install -y libpq-dev build-essential

ENV \
    PYTHONUNBUFFERED=1 \
    PYTHONFAULTHANDLER=1 \
    PYTHONDONTWRITEBYTECODE=1 \
    PIP_NO_CACHE_DIR=off \
    PIP_DISABLE_PIP_VERSION_CHECK=on \
    PIP_DEFAULT_TIMEOUT=100 \
    POETRY_VIRTUALENVS_CREATE=false \
    POETRY_NO_INTERACTION=1


RUN python -m pip install -U pip setuptools packaging \
    && python -m pip install -U psycopg2 \
    && python -m pip install -U migra[pg] \
    && python -m pip install poetry==1.1.7

RUN mkdir -p /opt/src/pypgstac

WORKDIR /opt/src/pypgstac

COPY pypgstac/poetry.lock pypgstac/pyproject.toml ./
RUN poetry install

COPY pypgstac /opt/src/pypgstac
RUN poetry install

ENV PYTHONPATH=/opt/src/pypgstac:${PYTHONPATH}

WORKDIR /opt/src

Note: curent image size is 1.07 GB

from pgstac.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.