Skip to content

Commit

Permalink
fixing pip in entrypoint also
Browse files Browse the repository at this point in the history
  • Loading branch information
MoodyMudit committed May 26, 2021
1 parent 984856b commit 8420090
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 27 deletions.
3 changes: 1 addition & 2 deletions pkg/amazonlinux2016.09/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe

sed -i -e "s/'.*'/'$HUBBLE_VERSION_ENV'/g" /hubble_build/hubblestack/version.py

eval "$(pyenv init -)"

eval "$(pyenv init --path)"
# locate some pyenv things
pyenv_prefix="$(pyenv prefix)"
python_binary="$(pyenv which python)"
Expand Down
2 changes: 1 addition & 1 deletion pkg/centos7/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe

sed -i -e "s/'.*'/'$HUBBLE_VERSION_ENV'/g" /hubble_build/hubblestack/version.py

eval "$(pyenv init -)"
eval "$(pyenv init --path)"

# locate some pyenv things
pyenv_prefix="$(pyenv prefix)"
Expand Down
3 changes: 1 addition & 2 deletions pkg/centos8/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe

sed -i -e "s/'.*'/'$HUBBLE_VERSION_ENV'/g" /hubble_build/hubblestack/version.py

eval "$(pyenv init -)"

eval "$(pyenv init --path)"
# locate some pyenv things
pyenv_prefix="$(pyenv prefix)"
python_binary="$(pyenv which python)"
Expand Down
3 changes: 1 addition & 2 deletions pkg/coreos/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe

sed -i -e "s/'.*'/'$HUBBLE_VERSION_ENV'/g" /hubble_build/hubblestack/version.py

eval "$(pyenv init -)"

eval "$(pyenv init --path)"
# locate some pyenv things
pyenv_prefix="$(pyenv prefix)"
python_binary="$(pyenv which python)"
Expand Down
3 changes: 1 addition & 2 deletions pkg/debian10/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe

sed -i -e "s/'.*'/'$HUBBLE_VERSION_ENV'/g" /hubble_build/hubblestack/version.py

eval "$(pyenv init -)"

eval "$(pyenv init --path)"
# locate some pyenv things
pyenv_prefix="$(pyenv prefix)"
python_binary="$(pyenv which python)"
Expand Down
3 changes: 1 addition & 2 deletions pkg/debian8/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe

sed -i -e "s/'.*'/'$HUBBLE_VERSION_ENV'/g" /hubble_build/hubblestack/version.py

eval "$(pyenv init -)"

eval "$(pyenv init --path)"
# locate some pyenv things
pyenv_prefix="$(pyenv prefix)"
python_binary="$(pyenv which python)"
Expand Down
3 changes: 1 addition & 2 deletions pkg/debian9/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe

sed -i -e "s/'.*'/'$HUBBLE_VERSION_ENV'/g" /hubble_build/hubblestack/version.py

eval "$(pyenv init -)"

eval "$(pyenv init --path)"
# locate some pyenv things
pyenv_prefix="$(pyenv prefix)"
python_binary="$(pyenv which python)"
Expand Down
3 changes: 1 addition & 2 deletions pkg/dev/amazonlinux2016.09/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe

sed -i -e "s/'.*'/'$HUBBLE_VERSION_ENV'/g" /hubble_build/hubblestack/version.py

eval "$(pyenv init -)"

eval "$(pyenv init --path)"
# locate some pyenv things
pyenv_prefix="$(pyenv prefix)"
python_binary="$(pyenv which python)"
Expand Down
3 changes: 1 addition & 2 deletions pkg/dev/centos7/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe

sed -i -e "s/'.*'/'$HUBBLE_VERSION_ENV'/g" /hubble_build/hubblestack/version.py

eval "$(pyenv init -)"

eval "$(pyenv init --path)"
# locate some pyenv things
pyenv_prefix="$(pyenv prefix)"
python_binary="$(pyenv which python)"
Expand Down
3 changes: 1 addition & 2 deletions pkg/dev/centos8/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe

sed -i -e "s/'.*'/'$HUBBLE_VERSION_ENV'/g" /hubble_build/hubblestack/version.py

eval "$(pyenv init -)"

eval "$(pyenv init --path)"
# locate some pyenv things
pyenv_prefix="$(pyenv prefix)"
python_binary="$(pyenv which python)"
Expand Down
3 changes: 1 addition & 2 deletions pkg/dev/coreos/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe

sed -i -e "s/'.*'/'$HUBBLE_VERSION_ENV'/g" /hubble_build/hubblestack/version.py

eval "$(pyenv init -)"

eval "$(pyenv init --path)"
# locate some pyenv things
pyenv_prefix="$(pyenv prefix)"
python_binary="$(pyenv which python)"
Expand Down
3 changes: 1 addition & 2 deletions pkg/dev/debian10/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe

sed -i -e "s/'.*'/'$HUBBLE_VERSION_ENV'/g" /hubble_build/hubblestack/version.py

eval "$(pyenv init -)"

eval "$(pyenv init --path)"
# locate some pyenv things
pyenv_prefix="$(pyenv prefix)"
python_binary="$(pyenv which python)"
Expand Down
3 changes: 1 addition & 2 deletions pkg/dev/debian8/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe

sed -i -e "s/'.*'/'$HUBBLE_VERSION_ENV'/g" /hubble_build/hubblestack/version.py

eval "$(pyenv init -)"

eval "$(pyenv init --path)"
# locate some pyenv things
pyenv_prefix="$(pyenv prefix)"
python_binary="$(pyenv which python)"
Expand Down
3 changes: 1 addition & 2 deletions pkg/dev/debian9/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe

sed -i -e "s/'.*'/'$HUBBLE_VERSION_ENV'/g" /hubble_build/hubblestack/version.py

eval "$(pyenv init -)"

eval "$(pyenv init --path)"
# locate some pyenv things
pyenv_prefix="$(pyenv prefix)"
python_binary="$(pyenv which python)"
Expand Down

0 comments on commit 8420090

Please sign in to comment.