Skip to content

Commit

Permalink
Updates Containerization lesson for 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
hlapp committed Sep 14, 2023
1 parent 5c2603b commit 9c83d96
Show file tree
Hide file tree
Showing 41 changed files with 457 additions and 224 deletions.
14 changes: 11 additions & 3 deletions Lesson-02.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Biostat 823 - Containerization"
author: "Hilmar Lapp"
institute: "Duke University, Department of Biostatistics & Bioinformatics"
date: "Fall 2022"
date: "Sep 14, 2023"
format:
revealjs:
slide-number: true
Expand Down Expand Up @@ -200,10 +200,18 @@ Requires bind mount at container runtime (`docker run`):
* Can be used for directories and files
* Using `--mount` generates an error if target directory (or file) doesn't exist
## Resources
## Resources (I)
* [Dockerfile reference](https://docs.docker.com/engine/reference/builder/)
* [Docker command line reference](https://docs.docker.com/engine/reference/commandline/cli/)
* [Singularity file reference](https://docs.sylabs.io/guides/latest/user-guide/definition_files.html)
* [Singularity command line reference](https://docs.sylabs.io/guides/latest/user-guide/cli.html)
* [Open Containers Initiative (OCI) standard for annotations](https://github.com/opencontainers/image-spec/blob/main/annotations.md)
* [Open Containers Initiative (OCI) standard for annotations](https://github.com/opencontainers/image-spec/blob/main/annotations.md)
## Resources (II)
* [Introduction to Docker](https://carpentries-incubator.github.io/docker-introduction/) (Carpentries Incubator lesson)
* [DCC OnDemand](https://dcc-ondemand-01.oit.duke.edu/)
* [Jupyter Docker Stacks](https://jupyter-docker-stacks.readthedocs.io/)
- Customized [Biostat Jupyter Docker container](https://github.com/Duke-GCB/biostat-jupyter)
* [Biostat-823 "everything" GPU container](https://gitlab.oit.duke.edu/owzar001/bios-823-container-gpu/-/blob/main/README.md) (Singularity)
181 changes: 125 additions & 56 deletions pub/Lesson-02.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pub/Lesson-02_files/libs/clipboard/clipboard.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pub/Lesson-02_files/libs/quarto-html/light-border.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pub/Lesson-02_files/libs/revealjs/dist/reveal.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions pub/Lesson-02_files/libs/revealjs/dist/reveal.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pub/Lesson-02_files/libs/revealjs/dist/reveal.esm.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions pub/Lesson-02_files/libs/revealjs/dist/reveal.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pub/Lesson-02_files/libs/revealjs/dist/reveal.js.map

Large diffs are not rendered by default.

Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
4 changes: 2 additions & 2 deletions pub/Lesson-02_files/libs/revealjs/dist/theme/quarto.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pub/Lesson-02_files/libs/revealjs/plugin/highlight/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const Plugin = {

var scrollState = { currentBlock: block };

// If there is at least one highlight step, generate
// If there is more than one highlight step, generate
// fragments
var highlightSteps = Plugin.deserializeHighlightSteps( block.getAttribute( 'data-line-numbers' ) );
if( highlightSteps.length > 1 ) {
Expand Down Expand Up @@ -142,7 +142,7 @@ const Plugin = {

} );

block.removeAttribute( 'data-fragment-index' )
block.removeAttribute( 'data-fragment-index' );
block.setAttribute( 'data-line-numbers', Plugin.serializeHighlightSteps( [ highlightSteps[0] ] ) );

}
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pub/Lesson-02_files/libs/revealjs/plugin/markdown/plugin.js
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* of external markdown documents.
*/

import marked from 'marked'
import { marked } from 'marked';

const DEFAULT_SLIDE_SEPARATOR = '\r?\n---\r?\n',
DEFAULT_NOTES_SEPARATOR = 'notes?:',
Expand Down
Empty file modified pub/Lesson-02_files/libs/revealjs/plugin/math/katex.js
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion pub/Lesson-02_files/libs/revealjs/plugin/math/math.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pub/Lesson-02_files/libs/revealjs/plugin/math/math.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pub/Lesson-02_files/libs/revealjs/plugin/math/mathjax3.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const MathJax3 = () => {
let revealOptions = deck.getConfig().mathjax3 || {};
let options = {...defaultOptions, ...revealOptions};
options.tex = {...defaultOptions.tex, ...revealOptions.tex}
options.options = {...options.options, ...defaultOptions.options}
options.options = {...defaultOptions.options, ...revealOptions.options}
options.startup = {...defaultOptions.startup, ...revealOptions.startup}

let url = options.mathjax || 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js';
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pub/Lesson-02_files/libs/revealjs/plugin/notes/notes.js

Large diffs are not rendered by default.

Loading

0 comments on commit 9c83d96

Please sign in to comment.