Skip to content

Commit 5be35c5

Browse files
committed
update from repo of origin (revsys/docker-builds/python)
1 parent 51981bb commit 5be35c5

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

.version

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# vim: ft=sh
2+
3+
4+
export IMAGE_VERSION=${PYTHON_VERSION}-wee
5+
export IMAGE=revolutionsystems/python
6+
7+
export MAJOR_VERSION="$( echo ${PYTHON_VERSION} | cut -d"." -f1 )"
8+

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ COPY ./init-functions /lib/lsb/
4343

4444
RUN set -ex \
4545
&& apt-mark unhold apt gnupg libcap2 libsemanage1 passwd libbz2-1.0\
46-
&& runDeps='curl gnupg libsqlite3-0 zlib1g libexpat1 bash tcpdump procps less binutils libbz2-1.0 netcat-openbsd' \
46+
&& runDeps='curl gnupg libsqlite3-0 zlib1g libexpat1 bash tcpdump procps less binutils libbz2-1.0 netcat-openbsd git' \
4747
&& apt-get -qq update; apt-get install -y $runDeps \
4848
&& find /usr -type f -name "*.so" -exec strip --strip-unneeded {} + \
4949
&& apt-get remove binutils --purge -y -qq \
@@ -154,6 +154,8 @@ RUN set -ex; \
154154
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name '*.exe' \) \) \
155155
\) -exec rm -rf '{}' +;
156156

157+
RUN rm -rf /root/.cache
158+
157159
ARG PYTHON_VERSION
158160
LABEL stage POST-BUILD
159161
LABEL version ${PYTHON_VERSION}

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11

22
# RevSys Python Builds
33

4-
*NOTE*: This README isn't 100% accurate and up to date, we will fix it in the near future. Busy at a conference this weekend. The benchmark and Dockerfile information however are correct.
5-
64
## What’s wrong with stock Python images?
75

86
The main image variety is too big when the user is operating in a context

gnupg/pubring.gpg

2.69 MB
Binary file not shown.

gnupg/trustdb.gpg

2.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy