File tree 2 files changed +15
-4
lines changed
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
2
2
# Louis T. Getterman IV (@LTGIV)
3
3
# www.GotGetLLC.com | www.opensour.cc/ggcom/docker/pyenv
4
4
#
@@ -47,7 +47,7 @@ RUN curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/
47
47
48
48
ADD pycompiler.bash $HOME/pycompiler.bash
49
49
ADD version $HOME/version
50
- RUN bash $HOME/pycompiler.bash $HOME/version
50
+ RUN bash $HOME/pycompiler.bash $(cat $ HOME/version)
51
51
RUN rm -rf $HOME/pycompiler.bash $HOME/version
52
52
53
53
RUN pyenv rehash
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
+ : << '!COMMENT '
2
3
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]*$'
5
16
pylist=$( pyenv install --list )
6
17
7
18
echo " ----------"
You can’t perform that action at this time.
0 commit comments