Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

History

History
History
21 lines (17 loc) 路 740 Bytes

File metadata and controls

21 lines (17 loc) 路 740 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Dockerfile to build an image with preinstalled dependencies
# Useful building docs or running unix tests from a Windows host.
FROM python:3.10
RUN git clone https://github.com/openml/openml-python.git openml
WORKDIR openml
RUN python -m venv venv
RUN venv/bin/pip install wheel setuptools
RUN venv/bin/pip install -e .[test,examples,docs,examples_unix]
WORKDIR /
RUN mkdir scripts
ADD startup.sh scripts/
ADD readme.md /
# Due to the nature of the Docker container it might often be built from Windows.
# It is typical to have the files with \r\n line-ending, we want to remove it for the unix image.
RUN sed -i 's/\r//g' scripts/startup.sh
# overwrite the default `python` entrypoint
ENTRYPOINT ["/bin/bash", "/scripts/startup.sh"]
Morty Proxy This is a proxified and sanitized view of the page, visit original site.