Created
May 7, 2020 09:32
-
-
Save cluelessperson/fe7e871b28c31283f3449a66efadc13e to your computer and use it in GitHub Desktop.
This file contains 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 COHEN3_REPO=github.com/opacam/Cohen3 | |
ARG COHEN3_TAG=master | |
FROM python:3.8.2-slim as build | |
ARG COHEN3_REPO | |
ARG COHEN3_TAG | |
RUN apt-get -yqq update && apt-get -yqq install git build-essential && ldconfig | |
RUN mkdir /wheels && cd /wheels && pip wheel git+git://${COHEN3_REPO}@${COHEN3_TAG} | |
FROM python:3.8.2-slim as run | |
COPY --from=build /wheels /wheels | |
RUN pip install /wheels/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment