File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ FROM ololobus/postgres-dev:stretch
22
33USER root
44RUN apt-get update
5- RUN apt-get -yq install python python -pip
5+ RUN apt-get -yq install python3 python3 -pip
66
77# RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
88# RUN python2 get-pip.py
9- RUN python2 -m pip install virtualenv
9+ RUN python3 -m pip install virtualenv
1010
1111# Environment
1212ENV PG_MAJOR=${PG_VERSION} PG_BRANCH=${PG_BRANCH}
Original file line number Diff line number Diff line change @@ -67,17 +67,17 @@ make USE_PGXS=1 top_srcdir=$PG_SRC install
6767
6868# Setup python environment
6969echo " ############### Setting up python env:"
70- python2 -m virtualenv pyenv
70+ python3 -m virtualenv pyenv
7171source pyenv/bin/activate
72- pip install testgres==1.8.2
72+ pip3 install testgres
7373
7474echo " ############### Testing:"
7575if [ " $MODE " = " basic" ]; then
7676 export PG_PROBACKUP_TEST_BASIC=ON
77- python -m unittest -v tests
78- python -m unittest -v tests.init
77+ python3 -m unittest -v tests
78+ python3 -m unittest -v tests.init
7979else
80- python -m unittest -v tests.$MODE
80+ python3 -m unittest -v tests.$MODE
8181fi
8282
8383# Generate *.gcov files
You can’t perform that action at this time.
0 commit comments