Skip to content

Commit 8420090

Browse files
committed
fixing pip in entrypoint also
1 parent 984856b commit 8420090

File tree

14 files changed

+14
-27
lines changed

14 files changed

+14
-27
lines changed

pkg/amazonlinux2016.09/entrypoint.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe
2626

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

29-
eval "$(pyenv init -)"
30-
29+
eval "$(pyenv init --path)"
3130
# locate some pyenv things
3231
pyenv_prefix="$(pyenv prefix)"
3332
python_binary="$(pyenv which python)"

pkg/centos7/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe
2626

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

29-
eval "$(pyenv init -)"
29+
eval "$(pyenv init --path)"
3030

3131
# locate some pyenv things
3232
pyenv_prefix="$(pyenv prefix)"

pkg/centos8/entrypoint.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe
2626

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

29-
eval "$(pyenv init -)"
30-
29+
eval "$(pyenv init --path)"
3130
# locate some pyenv things
3231
pyenv_prefix="$(pyenv prefix)"
3332
python_binary="$(pyenv which python)"

pkg/coreos/entrypoint.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe
2626

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

29-
eval "$(pyenv init -)"
30-
29+
eval "$(pyenv init --path)"
3130
# locate some pyenv things
3231
pyenv_prefix="$(pyenv prefix)"
3332
python_binary="$(pyenv which python)"

pkg/debian10/entrypoint.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe
2626

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

29-
eval "$(pyenv init -)"
30-
29+
eval "$(pyenv init --path)"
3130
# locate some pyenv things
3231
pyenv_prefix="$(pyenv prefix)"
3332
python_binary="$(pyenv which python)"

pkg/debian8/entrypoint.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe
2626

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

29-
eval "$(pyenv init -)"
30-
29+
eval "$(pyenv init --path)"
3130
# locate some pyenv things
3231
pyenv_prefix="$(pyenv prefix)"
3332
python_binary="$(pyenv which python)"

pkg/debian9/entrypoint.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe
2626

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

29-
eval "$(pyenv init -)"
30-
29+
eval "$(pyenv init --path)"
3130
# locate some pyenv things
3231
pyenv_prefix="$(pyenv prefix)"
3332
python_binary="$(pyenv which python)"

pkg/dev/amazonlinux2016.09/entrypoint.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe
2626

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

29-
eval "$(pyenv init -)"
30-
29+
eval "$(pyenv init --path)"
3130
# locate some pyenv things
3231
pyenv_prefix="$(pyenv prefix)"
3332
python_binary="$(pyenv which python)"

pkg/dev/centos7/entrypoint.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe
2626

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

29-
eval "$(pyenv init -)"
30-
29+
eval "$(pyenv init --path)"
3130
# locate some pyenv things
3231
pyenv_prefix="$(pyenv prefix)"
3332
python_binary="$(pyenv which python)"

pkg/dev/centos8/entrypoint.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ cp /hubble_build/hubblestack/__init__.py /hubble_build/hubblestack/__init__.fixe
2626

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

29-
eval "$(pyenv init -)"
30-
29+
eval "$(pyenv init --path)"
3130
# locate some pyenv things
3231
pyenv_prefix="$(pyenv prefix)"
3332
python_binary="$(pyenv which python)"

0 commit comments

Comments
 (0)