File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 1- # GGCOM - Docker - pyenv v201508040404
1+ # GGCOM - Docker - pyenv v201508041108
22# Louis T. Getterman IV (@LTGIV)
33# www.GotGetLLC.com | www.opensour.cc/ggcom/docker/pyenv
44#
@@ -47,7 +47,7 @@ RUN curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/
4747
4848ADD pycompiler.bash $HOME/pycompiler.bash
4949ADD version $HOME/version
50- RUN bash $HOME/pycompiler.bash $HOME/version
50+ RUN bash $HOME/pycompiler.bash $(cat $ HOME/version)
5151RUN rm -rf $HOME/pycompiler.bash $HOME/version
5252
5353RUN pyenv rehash
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2+ : << '!COMMENT '
23
3- target=$( cat $1 | tr -d ' [[:space:]]' ) \
4- rexp=' ^TARGET\.[0-9][\.0-9]*$' \
4+ GGCOM - Docker - pyenv v201508041108
5+ Louis T. Getterman IV (@LTGIV)
6+ www.GotGetLLC.com | www.opensour.cc/ggcom/docker/pyenv
7+
8+ Example usage of compile+install, and subsequent test of desired version:
9+ $] pycompiler.bash VERSION
10+ $] python --version
11+
12+ !COMMENT
13+
14+ target=$( echo " $1 " | tr -d ' [[:space:]]' )
15+ rexp=' ^TARGET\.[0-9][\.0-9]*$'
516pylist=$( pyenv install --list )
617
718echo " ----------"
You can’t perform that action at this time.
0 commit comments