-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
2 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,16 @@ | ||
FROM apnpucky/gentoo-hepi | ||
|
||
RUN lhapdf install cteq6l1 cteq66 CT14lo CT14nlo | ||
|
||
ARG NB_USER=jovyan | ||
ARG NB_UID=1000 | ||
ENV USER ${NB_USER} | ||
ENV NB_UID ${NB_UID} | ||
ENV HOME /home/${NB_USER} | ||
|
||
RUN useradd --shell /bin/bash --comment "Default user" --non-unique --uid ${NB_UID} ${NB_USER} | ||
|
||
# Make sure the contents of our repo are in ${HOME} | ||
COPY . ${HOME} | ||
USER root | ||
RUN chown -R ${NB_UID} ${HOME} | ||
WORKDIR ${HOME} | ||
USER ${NB_USER} | ||
ENV PATH "$PATH:${HOME}/.local/bin" | ||
|
||
RUN python3 -m pip install --no-cache-dir --break-system-packages notebook jupyterlab jupyterhub hepi | ||
RUN python3 -m pip install --no-cache-dir --break-system-packages notebook jupyterlab jupyterhub =hepi |
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