-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker Hub Sample images #50046
Closed
Closed
Docker Hub Sample images #50046
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
5ab51d1
dockerfiles for hub
WillAyd e48ced4
initial docker images for developers
WillAyd 335a884
mamba auto activate fixes
WillAyd 17a56c8
whitespace fixup
WillAyd 2044ddf
mamba cleanups and documentation
WillAyd ec6484c
more minimalism
WillAyd 555df08
Merge remote-tracking branch 'upstream/main' into docker-images
WillAyd 1a5a835
replace personal account with pandas org
WillAyd efb44b1
Removed docker CI job
WillAyd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM python:3.10.8-alpine | ||
|
||
RUN apk update & apk upgrade | ||
RUN apk add gcc g++ libc-dev | ||
|
||
COPY requirements-minimal.txt /tmp | ||
RUN python -m pip install -r /tmp/requirements-minimal.txt | ||
|
||
WORKDIR /home/pandas | ||
CMD ["/bin/sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM quay.io/condaforge/mambaforge | ||
|
||
RUN apt update && apt upgrade -y | ||
RUN DEBIAN_FRONTEND=noninteractive apt install -y tzdata | ||
|
||
RUN mamba env create -f \ | ||
https://raw.githubusercontent.com/pandas-dev/pandas/main/environment.yml | ||
|
||
RUN mamba init | ||
RUN echo "\nmamba activate pandas-dev" >> ~/.bashrc | ||
RUN mamba clean --all -qy | ||
|
||
WORKDIR /home/pandas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM quay.io/condaforge/mambaforge | ||
|
||
RUN apt update && apt upgrade -y | ||
RUN DEBIAN_FRONTEND=noninteractive apt install -y tzdata | ||
|
||
RUN mamba create -n pandas-dev \ | ||
cython \ | ||
hypothesis \ | ||
numpy \ | ||
pytest \ | ||
pytest-asyncio \ | ||
python=3.10.8 \ | ||
pytz \ | ||
python-dateutil \ | ||
versioneer | ||
|
||
RUN mamba init | ||
RUN echo "\nmamba activate pandas-dev" >> ~/.bashrc | ||
RUN mamba clean --all -qy | ||
|
||
WORKDIR /home/pandas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
FROM python:3.10.8 | ||
WORKDIR /home/pandas | ||
|
||
RUN apt-get update && apt-get -y upgrade | ||
RUN apt-get install -y build-essential | ||
RUN apt update && apt -y upgrade | ||
|
||
# hdf5 needed for pytables installation | ||
RUN apt-get install -y libhdf5-dev | ||
|
||
RUN python -m pip install --upgrade pip | ||
RUN python -m pip install \ | ||
RUN python -m pip install --use-deprecated=legacy-resolver \ | ||
-r https://raw.githubusercontent.com/pandas-dev/pandas/main/requirements-dev.txt | ||
|
||
WORKDIR /home/pandas | ||
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM python:3.10.8-slim | ||
|
||
RUN apt update && apt upgrade -y | ||
RUN apt install -y gcc g++ | ||
|
||
COPY requirements-minimal.txt /tmp | ||
RUN python -m pip install -r /tmp/requirements-minimal.txt | ||
|
||
WORKDIR /home/pandas | ||
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
cython | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file has some overlap with #50339 |
||
hypothesis | ||
numpy | ||
pytest | ||
pytest-asyncio | ||
pytz | ||
python-dateutil | ||
versioneer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is disconnected from requirements-minimal.txt at the moment. Could create a separate env file, break this up into two steps with a pip install, or leave as is