You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@madlib.apache.org by "orhankislal (via GitHub)" <gi...@apache.org> on 2023/05/18 18:20:56 UTC

[GitHub] [madlib] orhankislal commented on a diff in pull request #602: Build: Add PG13 on Ubuntu 20 support for Jenkins

orhankislal commented on code in PR #602:
URL: https://github.com/apache/madlib/pull/602#discussion_r1198141227


##########
tool/docker/base/Dockerfile_postgres_11_Jenkins:
##########
@@ -16,25 +16,26 @@
 # specific language governing permissions and limitations
 # under the License.
 
-FROM postgres:11
+FROM postgres:11-bullseye
 
 ### Get postgres specific add-ons
-RUN apt-get update && apt-get install -y  wget \
+RUN apt-get update
+RUN apt-get install -y  wget \
                        build-essential \
                        postgresql-server-dev-11 \
-                       postgresql-plpython-11 \
+                       postgresql-plpython3-11 \
                        openssl \
                        libssl-dev \
                        libboost-all-dev \
                        m4 \
                        rpm \
-                       python-pip \
-                       python-dev \
+                       python3-pip \
+                       python3-dev \
                        build-essential \
                        cmake \
                        libspatialindex-dev
 
-RUN pip install tensorflow==1.14 dill "rtree>=0.8,<0.9"
+RUN python3 -m pip install tensorflow dill rtree xgboost mock pandas numpy scikit-learn

Review Comment:
   With python3 the latest versions work as expected. If we start to get any issues, we should get an error and try to fix it, or at least pin it to a different version.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@madlib.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org