-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding conda image to docker registry and CI fix (#54)
Adding conda image to docker registry and CI fix
- Loading branch information
Showing
5 changed files
with
56 additions
and
124 deletions.
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
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
*DS_Store | ||
*__pycache__/ | ||
*.html | ||
atlas-demo*/ |
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,35 +1,17 @@ | ||
FROM rootproject/root:6.32.02-ubuntu22.04 | ||
LABEL maintainer="[email protected]" | ||
WORKDIR / | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
USER root | ||
FROM continuumio/miniconda3 | ||
LABEL author="ATLAS Open Data Team @ CERN 2024" | ||
LABEL maintainer="Giovanni Guerrieri - [email protected]" | ||
WORKDIR /opt/app | ||
|
||
#install the prerequisites (option always yes activated) | ||
RUN apt-get update \ | ||
&& apt-get upgrade -y \ | ||
&& apt-get install -y python3 python3-dev git curl python3-pip \ | ||
&& apt-get --yes install \ | ||
nano\ | ||
vim | ||
# Copy the environment.yml file into the container | ||
COPY binder/environment.yml . | ||
|
||
RUN conda env update -n base -f environment.yml && \ | ||
conda clean -afy && \ | ||
rm -rf /opt/conda/pkgs/* | ||
SHELL ["conda", "run", "-n", "analysis", "/bin/bash", "-c"] | ||
|
||
RUN pip3 install --no-cache-dir --upgrade \ | ||
uproot3 \ | ||
uproot \ | ||
tables \ | ||
matplotlib \ | ||
pandas \ | ||
pydot \ | ||
awkward \ | ||
awkward-pandas \ | ||
vector \ | ||
scikit-learn \ | ||
lmfit \ | ||
jupyter \ | ||
ipykernel \ | ||
papermill \ | ||
dask[distributed] \ | ||
coffea | ||
|
||
WORKDIR /home/jovyan/work/ | ||
# # Expose port 8888 for Jupyter Lab | ||
# EXPOSE 8888 | ||
|
||
# CMD ["jupyter", "lab", "--ip=0.0.0.0", "--allow-root", "--no-browser"] |
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