Skip to content

Commit 037e542

Browse files
committed
modify pandas
1 parent 8df4569 commit 037e542

7 files changed

Lines changed: 45 additions & 12 deletions

File tree

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22

33
Python docker images on alpine linux.
44

5-
Inspireded from *[@amancevice](https://github.com/amancevice/pandas)*
5+
Inspireded from [@amancevice](https://github.com/amancevice/pandas) and [jfloff](https://github.com/jfloff/alpine-python)
66

77
## Images list
88

9-
###### [Python](https://hub.docker.com/r/phirov/python/)
109

1110
|image | version | Dockerfiles |
1211
-----------|---------|------------------
13-
|**python**| `2`, `latest` | *([2/Dockerfile](https://github.com/phirov/docker-python/tree/master/pure/2/Dockerfile))* |
14-
| | `3` | *([3/Dockerfile](https://github.com/phirov/docker-python/tree/master/pure/3/Dockerfile))* |
12+
|**python**| `2`, `latest` | *([2/Dockerfile](https://github.com/phirov/docker-python/tree/master/python/2/Dockerfile))* |
13+
| | `3` | *([3/Dockerfile](https://github.com/phirov/docker-python/tree/master/python/3/Dockerfile))* |
14+
|**pandas**| `0.19-2`, `latest` | *([0.19/2/Dockerfile](https://github.com/phirov/docker-python/tree/master/pandas/0.19/2/Dockerfile))* |
15+
| | `0.19-3`| *([0.19/3/Dockerfile](https://github.com/phirov/docker-python/tree/master/pandas/0.19/3/Dockerfile))* |
16+
| | `0.18-2`| *([0.18/2/Dockerfile](https://github.com/phirov/docker-python/tree/master/pandas/0.18/2/Dockerfile))* |
17+
| | `0.18-3`| *([0.18/3/Dockerfile](https://github.com/phirov/docker-python/tree/master/pandas/0.18/3/Dockerfile))* |

pandas/0.19/2/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# consult: https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices
2+
# Forked: https://hub.docker.com/r/amancevice/pandas
3+
FROM phirov/python:2
4+
MAINTAINER phirov@163.com
5+
6+
RUN pip install numpy==1.11.2 cython==0.25.1 && \
7+
pip install pandas==0.19.1

pandas/0.19/3/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# consult: https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#/add-or-copy
2+
# Forked: https://hub.docker.com/r/amancevice/pandas
3+
FROM phirov/python:3
4+
MAINTAINER phirov@163.com
5+
6+
RUN pip3 install numpy==1.11.2 cython==0.25.1 && \
7+
pip3 install pandas==0.19.1

pandas/latest/2/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# consult: https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices
2+
# Forked: https://hub.docker.com/r/amancevice/pandas
3+
FROM phirov/python:2
4+
MAINTAINER phirov@163.com
5+
6+
RUN pip install numpy==1.11.2 cython==0.25.1 && \
7+
pip install pandas

pandas/latest/3/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# consult: https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#/add-or-copy
2+
# Forked: https://hub.docker.com/r/amancevice/pandas
3+
FROM phirov/python:3
4+
MAINTAINER phirov@163.com
5+
6+
RUN pip3 install numpy==1.11.2 cython==0.25.1 && \
7+
pip3 install pandas

python/2/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# consult: https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#/add-or-copy
22
# Forked: https://hub.docker.com/r/amancevice/pandas
3-
FROM alpine:3.4
4-
MAINTAINER phirov@163.com
3+
FROM alpine:3.4
4+
MAINTAINER phirov@163.com
55

6-
RUN apk add --no-cache python-dev py-pip g++ && \
7-
ln -s /usr/include/locale.h /usr/include/xlocale.h
6+
RUN apk add --no-cache python-dev py-pip g++ && \
7+
ln -s /usr/include/locale.h /usr/include/xlocale.h && \
8+
pip install --upgrade pip

python/3/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# consult: https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#/add-or-copy
22
# Forked: https://hub.docker.com/r/amancevice/pandas
3-
FROM alpine:3.4
4-
MAINTAINER phirov@163.com
3+
FROM alpine:3.4
4+
MAINTAINER phirov@163.com
55

6-
RUN apk add --no-cache python3-dev g++ && \
7-
ln -s /usr/include/locale.h /usr/include/xlocale.h
6+
RUN apk add --no-cache python3-dev g++ && \
7+
ln -s /usr/include/locale.h /usr/include/xlocale.h && \
8+
pip3 install --upgrade pip

0 commit comments

Comments
 (0)