File tree Expand file tree Collapse file tree 4 files changed +38
-0
lines changed
Expand file tree Collapse file tree 4 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ # # Image name: faucet/python3
2+
3+ FROM faucet/base
4+ RUN apk add --no-cache python3 && \
5+ python3 -m ensurepip && \
6+ rm -r /usr/lib/python*/ensurepip && \
7+ pip3 install --upgrade pip setuptools && \
8+ if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi && \
9+ if [[ ! -e /usr/bin/python ]]; then ln -sf /usr/bin/python3 /usr/bin/python; fi && \
10+ rm -r /root/.cache
Original file line number Diff line number Diff line change 1+ ## Image name: faucet/python3-pi
2+
3+ FROM faucet/base-pi
4+ RUN apk add --no-cache python3 && \
5+ python3 -m ensurepip && \
6+ rm -r /usr/lib/python*/ensurepip && \
7+ pip3 install --upgrade pip setuptools && \
8+ if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi && \
9+ if [[ ! -e /usr/bin/python ]]; then ln -sf /usr/bin/python3 /usr/bin/python; fi && \
10+ rm -r /root/.cache
Original file line number Diff line number Diff line change 1+ Faucet Python3 Docker Image
2+ ========================
3+
4+ Docker image for `python3 <https://www.python.org >`_.
5+
6+ Pull from Docker Hub
7+ --------------------
8+
9+ Built images are available on Docker Hub so that you don't need to build your own.
10+
11+ Images are available for the following architectures:
12+
13+ * `amd64 <https://hub.docker.com/r/faucet/python3/ >`_
14+ * `armhf (for raspberry pi) <https://hub.docker.com/r/faucet/python3-pi/ >`_
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # We need qemu-user-static for arm/pi builds
4+ docker run --rm --privileged multiarch/qemu-user-static:register --reset
You can’t perform that action at this time.
0 commit comments