-
Notifications
You must be signed in to change notification settings - Fork 1
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
Boris Shminke
committed
May 26, 2022
1 parent
d8c83a6
commit c26f29d
Showing
2 changed files
with
25 additions
and
24 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,24 +1 @@ | ||
FROM makarius/isabelle:Isabelle2021-1 | ||
ARG NB_USER=jovyan | ||
ARG NB_UID=1000 | ||
ENV USER ${NB_USER} | ||
ENV NB_UID ${NB_UID} | ||
USER root | ||
RUN groupmod -g 9999 isabelle | ||
RUN usermod -u 9999 -g 9999 isabelle | ||
RUN adduser --disabled-password \ | ||
--gecos "Default user" \ | ||
--uid ${NB_UID} \ | ||
${NB_USER} | ||
RUN apt-get update | ||
RUN apt-get install -y python3-pip | ||
ENV HOME /home/${NB_USER} | ||
ENV ISABELLE_BIN /home/isabelle/Isabelle/bin/ | ||
ENV PATH=${HOME}/.local/bin/:${ISABELLE_BIN}:${PATH} | ||
COPY examples/ ${HOME}/isabelle-client-examples/ | ||
RUN chown -R ${NB_USER}:${NB_USER} ${HOME}/isabelle-client-examples/ | ||
RUN chown -R ${NB_USER}:${NB_USER} ${ISABELLE_BIN} | ||
USER ${NB_USER} | ||
WORKDIR ${HOME} | ||
RUN python3 -m pip install --no-cache-dir notebook jupyterlab isabelle-client | ||
ENTRYPOINT [] | ||
FROM inpefess/isabelle-client:latest |
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,24 @@ | ||
FROM makarius/isabelle:Isabelle2021-1 | ||
ARG NB_USER=jovyan | ||
ARG NB_UID=1000 | ||
ENV USER ${NB_USER} | ||
ENV NB_UID ${NB_UID} | ||
USER root | ||
RUN groupmod -g 9999 isabelle | ||
RUN usermod -u 9999 -g 9999 isabelle | ||
RUN adduser --disabled-password \ | ||
--gecos "Default user" \ | ||
--uid ${NB_UID} \ | ||
${NB_USER} | ||
RUN apt-get update | ||
RUN apt-get install -y python3-pip | ||
ENV HOME /home/${NB_USER} | ||
ENV ISABELLE_BIN /home/isabelle/Isabelle/bin/ | ||
ENV PATH=${HOME}/.local/bin/:${ISABELLE_BIN}:${PATH} | ||
COPY examples/ ${HOME}/isabelle-client-examples/ | ||
RUN chown -R ${NB_USER}:${NB_USER} ${HOME}/isabelle-client-examples/ | ||
RUN chown -R ${NB_USER}:${NB_USER} ${ISABELLE_BIN} | ||
USER ${NB_USER} | ||
WORKDIR ${HOME} | ||
RUN python3 -m pip install --no-cache-dir notebook jupyterlab isabelle-client | ||
ENTRYPOINT [] |