Sign inSign up

yoding/python

By yoding

•Updated about 4 years ago

Image
0

175

yoding/python repository overview

sklearn

FROM python:alpine3.16
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
RUN apk add build-base gfortran pkgconfig cmake openblas openblas-dev
RUN pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
RUN pip install scikit-learn pandas

xgboost

FROM yoding/python:sklearn
RUN pip install xgboost

xgboost-jdk8

FROM yoding/python:xgboost

COPY app/sgerrand.rsa.pub /etc/apk/keys/
COPY app/glibc-2.34-r0.apk /opt/
COPY app/glibc-bin-2.34-r0.apk /opt/
RUN apk add /opt/glibc-2.34-r0.apk
RUN apk add /opt/glibc-bin-2.34-r0.apk

ADD app/jdk-8u341-linux-x64.tar.gz /usr/local/

ENV JAVA_HOME=/usr/local/jdk1.8.0_341
ENV CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
ENV PATH=$JAVA_HOME/bin:$PATH

Tag summary

Content type

Image

Digest

sha256:be084166c…

Size

491.7 MB

Last updated

about 4 years ago

docker pull yoding/python:xgboost-jdk8