We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2277f7a commit 4ff32f3Copy full SHA for 4ff32f3
Dockerfile
@@ -17,7 +17,10 @@ RUN set -ex \
17
libxml2-dev \
18
libxslt-dev \
19
curl-dev \
20
+ && pip install \
21
+ PyMySQL \
22
&& python setup.py install --prefix=/usr/local \
23
+ && rm -rf /usr/local/src/{*,.*??} \
24
&& find /usr/local -depth \
25
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
26
-exec rm -rf '{}' + \
@@ -28,9 +31,10 @@ RUN set -ex \
28
31
| xargs -r apk info --installed \
29
32
| sort -u \
30
33
)" \
- && apk add --virtual .pypi-server-rundeps $runDeps \
- && apk del .build-deps \
- && rm -rf ~/.cache
34
+ && apk add --no-cache --virtual .pypi-server-rundeps \
35
+ $runDeps \
36
+ py-psycopg2 \
37
+ && apk del .build-deps
38
39
VOLUME "/usr/lib/pypi-server"
40
0 commit comments