squeaky-pl / japronto

Screaming-fast Python 3.5+ HTTP toolkit integrated with pipelining HTTP server based on uvloop and picohttpparser.
MIT License
8.61k stars 581 forks source link

Anybody working with japronto in Docker Alpine images? #85

Closed arturgspb closed 7 years ago

arturgspb commented 7 years ago

Hi, subj

I see error in pip install output:

Collecting japronto (from -r requirements.txt (line 3))
  Could not find a version that satisfies the requirement japronto (from -r requirements.txt (line 3)) (from versions: )
No matching distribution found for japronto (from -r requirements.txt (line 3))

Maybe it's because working any restriction in setup.py?

Negashev commented 7 years ago

FROM alpine

FROM alpine
# build japronto
RUN apk add --no-cache python3 ca-certificates
RUN apk add --no-cache --virtual .build-deps py3-pip build-base python3-dev \
    && pip3 --no-cache install https://github.com/squeaky-pl/japronto/archive/master.zip  \
    && apk del .build-deps \
    && rm -rf /var/cache/apk/*