Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-xt-ci
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
ag-ohlberger
dune-community
dune-xt-ci
Commits
2fea8863
Unverified
Commit
2fea8863
authored
5 years ago
by
René Fritze
Browse files
Options
Downloads
Patches
Plain Diff
[binder] add a Dockerfile with a repo2docker/binder setup
parent
288b64bf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
binder/Dockerfile
+25
-0
25 additions, 0 deletions
binder/Dockerfile
with
25 additions
and
0 deletions
binder/Dockerfile
0 → 100644
+
25
−
0
View file @
2fea8863
FROM
dunecommunity/xt-super_debian
MAINTAINER
rene.fritze@wwu.de
# binder wants to set the NB_ vars anyways, so we use it to service both setups
ARG
NB_USER
ARG
NB_UID
ARG
DXT_JUPYTER_TOKEN
USER
root
# /home/dune-ci already exists in the base image and needs to be re-used here
RUN
useradd
-d
/home/dune-ci
--shell
/bin/bash
-u
${
NB_UID
}
-o
-c
""
-m
${
NB_USER
}
&&
\
chown
-R
${
NB_USER
}
/home/dune-ci
ENV
JUPYTER_TOKEN=${DXT_JUPYTER_TOKEN} \
USER=${NB_USER} \
HOME=/home/dune-ci \
VENV=${DUNE_BUILD_DIR}/dune-common/dune-env
USER
${NB_USER}
ENV
PATH=${VENV}/bin:${PATH}
ENTRYPOINT
[]
WORKDIR
${HOME}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment