-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from flux-framework/fix-init-user-add-links-to…
…-dashboard fix user ownership of files in jovyan home
- Loading branch information
Showing
11 changed files
with
106 additions
and
6 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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM alpine/git | ||
|
||
ENV NB_USER=jovyan \ | ||
NB_UID=1000 \ | ||
HOME=/home/jovyan | ||
|
||
RUN adduser \ | ||
-D \ | ||
-g "Default user" \ | ||
-u ${NB_UID} \ | ||
-h ${HOME} \ | ||
${NB_USER} | ||
COPY ./docker/init-entrypoint.sh /entrypoint.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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions
11
2023-RADIUSS-AWS/JupyterNotebook/docker/init-entrypoint.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,11 @@ | ||
#!/bin/sh | ||
|
||
# Copy the notebook icon | ||
# This would be for the customized launcher, not working yet | ||
# wget https://flux-framework.org/assets/images/Flux-logo-mark-only-full-color.png | ||
# mv Flux-logo-mark-only-full-color.png /home/jovyan/flux-icon.png | ||
|
||
# We need to clone to the user home, and then change permissions to uid 1000 | ||
# That uid is shared by jovyan here and the spawn container | ||
git clone https://github.com/rse-ops/flux-radiuss-tutorial-2023 /home/jovyan/flux-tutorial | ||
chown -R 1000 /home/jovyan |
63 changes: 63 additions & 0 deletions
63
2023-RADIUSS-AWS/JupyterNotebook/docker/jupyter-launcher.yaml
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,63 @@ | ||
# These don't work, but we can try again next year. | ||
#- title: Flux Tutorial Notebook | ||
# description: This is the main Flux Framework Tutorial | ||
# source: /home/jovyan/flux-tutorial/notebook/flux.ipynb | ||
# cwd: /home/jovyan/flux-tutorial/notebook/ | ||
# type: notebook | ||
# catalog: Notebook | ||
# icon: /home/jovyan/flux-icon.png | ||
|
||
# - title: Dyad Notebook Tutorial | ||
# description: This is a tutorial for using Dyad | ||
# source: /home/jovyan/flux-tutorial/notebook/dyad.ipynb | ||
# cwd: /home/jovyan/flux-tutorial/notebook/ | ||
# type: notebook | ||
# catalog: Notebook | ||
# icon: /home/jovyan/flux-icon.png | ||
|
||
- title: Flux Framework Portal | ||
description: Flux Framework portal for projects, releases, and publication. | ||
source: https://flux-framework.org/ | ||
type: url | ||
catalog: Flux Resources | ||
args: | ||
sandbox: [ 'allow-same-origin', 'allow-scripts', 'allow-downloads', 'allow-modals', 'allow-popups'] | ||
- title: Flux Documentation | ||
source: https://flux-framework.readthedocs.io/en/latest/ | ||
type: url | ||
catalog: Flux Resources | ||
args: | ||
sandbox: [ 'allow-same-origin', 'allow-scripts', 'allow-downloads', 'allow-modals', 'allow-popups'] | ||
- title: Flux Cheat Sheet | ||
source: https://flux-framework.org/cheat-sheet/ | ||
type: url | ||
catalog: Flux Resources | ||
args: | ||
sandbox: [ 'allow-same-origin', 'allow-scripts', 'allow-downloads', 'allow-modals', 'allow-popups'] | ||
- title: Flux Glossary of Terms | ||
source: https://flux-framework.readthedocs.io/en/latest/comics/fluxonomicon.html | ||
description: come and meet FluxBird - the pink bird who knows things! | ||
type: url | ||
catalog: Flux Resources | ||
args: | ||
sandbox: [ 'allow-same-origin', 'allow-scripts', 'allow-downloads', 'allow-modals', 'allow-popups'] | ||
- title: Flux Learning Guide | ||
source: https://flux-framework.readthedocs.io/en/latest/guides/learning_guide.html | ||
description: learn about what Flux does, how it works, and real research applications | ||
type: url | ||
catalog: Flux Resources | ||
args: | ||
sandbox: [ 'allow-same-origin', 'allow-scripts', 'allow-downloads', 'allow-modals', 'allow-popups'] | ||
- title: Getting Started with Flux and Go | ||
source: https://converged-computing.github.io/flux-go | ||
type: url | ||
catalog: Flux Resources | ||
args: | ||
sandbox: [ 'allow-same-origin', 'allow-scripts', 'allow-downloads', 'allow-modals', 'allow-popups'] | ||
- title: Getting Started with Flux in C | ||
source: https://converged-computing.github.io/flux-c-examples/ | ||
description: ...looking for contributors! | ||
type: url | ||
catalog: Flux Resources | ||
args: | ||
sandbox: [ 'allow-same-origin', 'allow-scripts', 'allow-downloads', 'allow-modals', 'allow-popups'] |
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