Error: user-error ("Org export aborted. Unable to resolve link: \"introduction\"
See `org-export-with-broken-links'")
signal(user-error ("Org export aborted. Unable to resolve link: \"introduction\"\nSee `org-export-with-broken-links'"))
user-error("Org export aborted. Unable to resolve link: %S\nSee `org-export-with-broken-links'" "introduction")
org-export-data((link (:standard-properties [115 nil 132 144 146 0 nil nil nil nil nil nil nil nil # nil nil (paragraph (:standard-properties [115 115 115 147 147 0 nil nil nil nil nil nil nil nil # nil nil (item (:standard-properties [113 113 115 147 147 0 (:tag) item nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) (plain-list (:standard-properties [113 113 113 259 260 1 nil planning nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) (section (:standard-properties [113 113 113 260 260 0 nil section nil nil nil 113 260 nil # nil nil (headline (:standard-properties [35 35 113 260 260 0 (:title) nil nil nil nil 115 258 1 # nil nil (org-data (:standard-properties [1 1 1 2857 2857 0 nil org-data nil nil nil 3 2857 nil # nil nil nil] :path nil :CATEGORY nil) (section (:standard-properties [1 1 1 35 35 0 nil first-section nil nil nil 1 35 nil # nil nil #30]) (keyword (:standard-properties [1 1 nil nil 35 1 nil top-comment nil nil nil nil nil nil # nil nil #33] :key "TITLE" :value "Genenetwork2 Dockerized"))) #25 (headline (:standard-properties [260 260 276 926 926 0 (:title) nil nil nil nil 278 924 1 # nil nil #30] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-raw-value (2 14) t] :title (#("Introduction" 0 12 (:parent #35))) :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) (section (:standard-properties [276 276 276 926 926 0 nil section nil nil nil 276 926 nil # nil nil #35]) (paragraph (:standard-properties [276 276 276 599 600 1 nil planning nil nil nil nil nil nil # nil nil #38]) #("The CI(Continuous Integration) system for Genenetwork2 uses " 0 60 (:parent #41)) (link (:standard-properties [336 nil 375 389 391 0 nil nil nil nil nil nil nil nil # nil nil #41] :type "https" :type-explicit-p t :path "//github.com/features/actions" :format bracket :raw-link "https://github.com/features/actions" :application nil :search-option nil) #("Github\nActions" 0 14 (:parent #45))) #(". As such, it's important to have a way to run tests using\nfacilities provided by GUIX in a reproducible way. This project\nleverages GUIX to generate a docker container from which the unittests\nare ran from.\n" 0 208 (:parent #41))) (paragraph (:standard-properties [600 600 600 829 830 1 nil nil nil nil nil nil nil nil # nil nil #38]) #("Find instructions on how to set docker up inside GUIX " 0 54 (:parent #42)) (link (:standard-properties [654 nil 732 736 738 0 nil nil nil nil nil nil nil nil # nil nil #42] :type "https" :type-explicit-p t :path "//github.com/pjotrp/guix-notes/blob/master/CONTAINERS.org#run-docker" :format bracket :raw-link "https://github.com/pjotrp/guix-notes/blob/master/CONTAINERS.org#run-docker" :application nil :search-option nil) #("here" 0 4 (:parent #46))) #(". This\ndocument will not get into that. It's assumed that you have a working\ndocker setup.\n" 0 91 (:parent #42))) (paragraph (:standard-properties [830 830 830 925 926 1 nil nil nil nil nil nil nil nil # nil nil #38]) #("The rest of this document outlines how the docker container used in\nthe CI builds was created.\n" 0 95 (:parent #43))))) (headline (:standard-properties [926 926 956 2234 2234 0 (:title) nil nil nil nil 958 2232 1 # nil nil #30] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-raw-value (2 28) t] :title (#("Creating the Docker Images" 0 26 (:parent #36))) :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) (section (:standard-properties [956 956 956 2234 2234 0 nil section nil nil nil 956 2234 nil # nil nil #36]) (paragraph (:standard-properties [956 956 956 1070 1071 1 nil planning nil nil nil nil nil nil # nil nil #39]) #("The general idea is that GUIX is used to generate a set of binaries,\nwhich will be added to a base mariaDB image.\n" 0 114 (:parent #42))) (paragraph (:standard-properties [1071 1071 1071 1116 1117 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("First create the gn2 tar archive by running:\n" 0 45 (:parent #43))) (src-block (:standard-properties [1117 1117 nil nil 1343 1 nil nil nil nil nil nil nil nil # nil nil #39] :language "sh" :switches nil :parameters nil :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (15 215) t])) (paragraph (:standard-properties [1343 1343 1343 1386 1387 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("The output will look something similar to:\n" 0 43 (:parent #45))) (fixed-width (:standard-properties [1387 1387 nil nil 1454 2 nil nil nil nil nil nil nil nil # nil nil #39] :value "/gnu/store/x3m77vwaqcwba24p5s4lrb7w2ii16lj9-tarball-pack.tar.gz")) (paragraph (:standard-properties [1454 1454 1454 1639 1640 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("Now create a folder from which will host the following dockerfile. You\ncan name this file Dockerfile. Note that mariadb is the base image\nsince it already has mariadb installed for us.\n" 0 185 (:parent #47))) (src-block (:standard-properties [1640 1640 nil nil 1887 1 nil nil nil nil nil nil nil nil # nil nil #39] :language "conf" :switches nil :parameters ":mkdirp yes :tangle ~/docker/Dockerfile" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (57 236) t])) (paragraph (:standard-properties [1887 1887 1887 1934 1935 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("Build the image(Note the fullstop at the end):\n" 0 47 (:parent #49))) (fixed-width (:standard-properties [1935 1935 nil nil 1995 2 nil nil nil nil nil nil nil nil # nil nil #39] :value "sudo docker build -t genenetwork2:latest -f Dockerfile .")) (paragraph (:standard-properties [1995 1995 1995 2048 2049 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("To load the image interactively you've just created:\n" 0 53 (:parent #51))) (fixed-width (:standard-properties [2049 2049 nil nil 2094 2 nil nil nil nil nil nil nil nil # nil nil #39] :value "docker run -ti \"genenetwork2:latest\" bash")) (paragraph (:standard-properties [2094 2094 2094 2180 2181 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("Assuming you have a docker instance running, you could always run\ncommands in it e.g:\n" 0 86 (:parent #53))) (fixed-width (:standard-properties [2181 2181 nil nil 2234 2 nil nil nil nil nil nil nil nil # nil nil #39] :value "docker run \"genenetwork2:latest\" python --version")))) (headline (:standard-properties [2234 2234 2258 2857 2857 0 (:title) nil nil nil nil 2260 2855 1 # nil nil #30] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-raw-value (2 22) t] :title (#("Pushing to DockerHub" 0 20 (:parent #37))) :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) (section (:standard-properties [2258 2258 2258 2857 2857 0 nil section nil nil nil 2258 2857 nil # nil nil #37]) (paragraph (:standard-properties [2258 2258 2258 2364 2365 1 nil planning nil nil nil nil nil nil # nil nil #40]) #("We use DockerHub to store the docker images from which we use on our\nCI environment using Github Actions.\n" 0 106 (:parent #43))) (paragraph (:standard-properties [2365 2365 2365 2486 2487 1 nil nil nil nil nil nil nil nil # nil nil #40]) #("To push to dockerhub, first get the image name by running " 0 58 (:parent #44)) (verbatim (:standard-properties [2423 nil nil nil 2438 0 nil nil nil nil nil nil nil nil # nil nil #44] :value [org-element-deferred org-element--substring (1 14) t])) #(". Push to dockerhub using a command similar to:\n" 0 48 (:parent #44))) (fixed-width (:standard-properties [2487 2487 nil nil 2534 2 nil nil nil nil nil nil nil nil # nil nil #40] :value "docker push bonfacekilz/genenetwork2:latest")) (paragraph (:standard-properties [2534 2534 2534 2576 2577 1 nil nil nil nil nil nil nil nil # nil nil #40]) #("Right now, we have 2 images on DockerHub:\n" 0 42 (:parent #46))) (plain-list (:standard-properties [2577 2577 2577 2857 2857 0 nil nil nil nil nil nil nil nil # nil ((2577 0 "- " nil nil nil 2741) (2741 0 "- " nil nil nil 2857)) #40] :type unordered) (item (:standard-properties [2577 2577 2579 2741 2741 0 (:tag) item nil nil nil nil nil nil # nil ((2577 0 "- " nil nil nil 2741) (2741 0 "- " nil nil nil 2857)) #47] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [2579 2579 2579 2741 2741 0 nil nil nil nil nil nil nil nil # nil nil #50]) (link (:standard-properties [2579 nil nil nil 2652 0 nil nil nil nil nil nil nil nil # nil nil #53] :type "https" :type-explicit-p t :path "//hub.docker.com/repository/docker/bonfacekilz/python2-genenetwork2" :format plain :raw-link "https://hub.docker.com/repository/docker/bonfacekilz/python2-genenetwork2" :application nil :search-option nil)) #(":\n Contains the python2 version of gn2. Don't use this. Please use the\n python3 image!\n" 0 89 (:parent #53)))) (item (:standard-properties [2741 2741 2743 2857 2857 0 (:tag) item nil nil nil nil nil nil # nil ((2577 0 "- " nil nil nil 2741) (2741 0 "- " nil nil nil 2857)) #47] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [2743 2743 2743 2857 2857 0 nil nil nil nil nil nil nil nil # nil nil #51]) (link (:standard-properties [2743 nil nil nil 2816 0 nil nil nil nil nil nil nil nil # nil nil #54] :type "https" :type-explicit-p t :path "//hub.docker.com/repository/docker/bonfacekilz/python3-genenetwork2" :format plain :raw-link "https://hub.docker.com/repository/docker/bonfacekilz/python3-genenetwork2" :application nil :search-option nil)) #(":\n Contains the python3 version of gn2.\n" 0 41 (:parent #54))))))))] :pre-blank 0 :raw-value "Table of Contents" :title (#("Table of Contents" 0 17 (:parent #25))) :level 1 :priority nil :tags ("TOC") :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) #20)]) #15)] :type unordered) #10 (item (:standard-properties [147 147 149 209 209 0 (:tag) item nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) #15] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [149 149 149 209 209 0 nil nil nil nil nil nil nil nil # nil nil #19]) (link (:standard-properties [149 nil 180 206 208 0 nil nil nil nil nil nil nil nil # nil nil #22] :type "custom-id" :type-explicit-p nil :path "creating-the-docker-images" :format bracket :raw-link "#creating-the-docker-images" :application nil :search-option nil) #("Creating the Docker Images" 0 26 (:parent #25))) #("\n" 0 1 (:parent #22)))) (item (:standard-properties [209 209 211 259 259 0 (:tag) item nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) #15] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [211 211 211 259 259 0 nil nil nil nil nil nil nil nil # nil nil #20]) (link (:standard-properties [211 nil 236 256 258 0 nil nil nil nil nil nil nil nil # nil nil #23] :type "custom-id" :type-explicit-p nil :path "pushing-to-dockerhub" :format bracket :raw-link "#pushing-to-dockerhub" :application nil :search-option nil) #("Pushing to DockerHub" 0 20 (:parent #26))) #("\n" 0 1 (:parent #23)))))] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) #5)]) #0 #("\n" 0 1 (:parent #5)))] :type "custom-id" :type-explicit-p nil :path "introduction" :format bracket :raw-link "#introduction" :application nil :search-option nil) #("Introduction" 0 12 (:parent #0))) (:export-options (body-only) :back-end #s(org-export-backend :name html :parent nil :transcoders ((bold . org-html-bold) (center-block . org-html-center-block) (clock . org-html-clock) (code . org-html-code) (drawer . org-html-drawer) (dynamic-block . org-html-dynamic-block) (entity . org-html-entity) (example-block . org-html-example-block) (export-block . org-html-export-block) (export-snippet . org-html-export-snippet) (fixed-width . org-html-fixed-width) (footnote-reference . org-html-footnote-reference) (headline . org-html-headline) (horizontal-rule . org-html-horizontal-rule) (inline-src-block . org-html-inline-src-block) (inlinetask . org-html-inlinetask) (inner-template . org-html-inner-template) (italic . org-html-italic) (item . org-html-item) (keyword . org-html-keyword) (latex-environment . org-html-latex-environment) (latex-fragment . org-html-latex-fragment) (line-break . org-html-line-break) (link . org-html-link) (node-property . org-html-node-property) (paragraph . org-html-paragraph) (plain-list . org-html-plain-list) (plain-text . org-html-plain-text) (planning . org-html-planning) (property-drawer . org-html-property-drawer) (quote-block . org-html-quote-block) (radio-target . org-html-radio-target) (section . org-html-section) (special-block . org-html-special-block) (src-block . org-html-src-block) (statistics-cookie . org-html-statistics-cookie) (strike-through . org-html-strike-through) (subscript . org-html-subscript) (superscript . org-html-superscript) (table . org-html-table) (table-cell . org-html-table-cell) (table-row . org-html-table-row) (target . org-html-target) (template . org-html-template) (timestamp . org-html-timestamp) (underline . org-html-underline) (verbatim . org-html-verbatim) (verse-block . org-html-verse-block)) :options ((:html-doctype "HTML_DOCTYPE" nil org-html-doctype) (:html-container "HTML_CONTAINER" nil org-html-container-element) (:html-content-class "HTML_CONTENT_CLASS" nil org-html-content-class) (:description "DESCRIPTION" nil nil newline) (:keywords "KEYWORDS" nil nil space) (:html-html5-fancy nil "html5-fancy" org-html-html5-fancy) (:html-link-use-abs-url nil "html-link-use-abs-url" org-html-link-use-abs-url) (:html-link-home "HTML_LINK_HOME" nil org-html-link-home) (:html-link-up "HTML_LINK_UP" nil org-html-link-up) (:html-mathjax "HTML_MATHJAX" nil "" space) (:html-equation-reference-format "HTML_EQUATION_REFERENCE_FORMAT" nil org-html-equation-reference-format t) (:html-postamble nil "html-postamble" org-html-postamble) (:html-preamble nil "html-preamble" org-html-preamble) (:html-head "HTML_HEAD" nil org-html-head newline) (:html-head-extra "HTML_HEAD_EXTRA" nil org-html-head-extra newline) (:subtitle "SUBTITLE" nil nil parse) (:html-head-include-default-style nil "html-style" org-html-head-include-default-style) (:html-head-include-scripts nil "html-scripts" org-html-head-include-scripts) (:html-allow-name-attribute-in-anchors nil nil org-html-allow-name-attribute-in-anchors) (:html-divs nil nil org-html-divs) (:html-checkbox-type nil nil org-html-checkbox-type) (:html-extension nil nil org-html-extension) (:html-footnote-format nil nil org-html-footnote-format) (:html-footnote-separator nil nil org-html-footnote-separator) (:html-footnotes-section nil nil org-html-footnotes-section) (:html-format-drawer-function nil nil org-html-format-drawer-function) (:html-format-headline-function nil nil org-html-format-headline-function) (:html-format-inlinetask-function nil nil org-html-format-inlinetask-function) (:html-home/up-format nil nil org-html-home/up-format) (:html-indent nil nil org-html-indent) (:html-infojs-options nil nil org-html-infojs-options) (:html-infojs-template nil nil org-html-infojs-template) (:html-inline-image-rules nil nil org-html-inline-image-rules) (:html-link-org-files-as-html nil nil org-html-link-org-files-as-html) (:html-mathjax-options nil nil org-html-mathjax-options) (:html-mathjax-template nil nil org-html-mathjax-template) (:html-metadata-timestamp-format nil nil org-html-metadata-timestamp-format) (:html-postamble-format nil nil org-html-postamble-format) (:html-preamble-format nil nil org-html-preamble-format) (:html-prefer-user-labels nil nil org-html-prefer-user-labels) (:html-self-link-headlines nil nil org-html-self-link-headlines) (:html-table-align-individual-fields nil nil org-html-table-align-individual-fields) (:html-table-caption-above nil nil org-html-table-caption-above) (:html-table-data-tags nil nil org-html-table-data-tags) (:html-table-header-tags nil nil org-html-table-header-tags) (:html-table-use-header-tags-for-first-column nil nil org-html-table-use-header-tags-for-first-column) (:html-tag-class-prefix nil nil org-html-tag-class-prefix) (:html-text-markup-alist nil nil org-html-text-markup-alist) (:html-todo-kwd-class-prefix nil nil org-html-todo-kwd-class-prefix) (:html-toplevel-hlevel nil nil org-html-toplevel-hlevel) (:html-use-infojs nil nil org-html-use-infojs) (:html-validation-link nil nil org-html-validation-link) (:html-viewport nil nil org-html-viewport) (:html-inline-images nil nil org-html-inline-images) (:html-table-attributes nil nil org-html-table-default-attributes) (:html-table-row-open-tag nil nil org-html-table-row-open-tag) (:html-table-row-close-tag nil nil org-html-table-row-close-tag) (:html-xml-declaration nil nil org-html-xml-declaration) (:html-wrap-src-lines nil nil org-html-wrap-src-lines) (:html-klipsify-src nil nil org-html-klipsify-src) (:html-klipse-css nil nil org-html-klipse-css) (:html-klipse-js nil nil org-html-klipse-js) (:html-klipse-selection-script nil nil org-html-klipse-selection-script) (:infojs-opt "INFOJS_OPT" nil nil) (:creator "CREATOR" nil org-html-creator-string) (:with-latex nil "tex" org-html-with-latex) (:latex-header "LATEX_HEADER" nil nil newline)) :filters ((:filter-options . org-html-infojs-install-script) (:filter-parse-tree . org-html-image-link-filter) (:filter-final-output . org-html-final-function)) :blocks nil :menu (104 "Export to HTML" ((72 "As HTML buffer" org-html-export-as-html) (104 "As HTML file" org-html-export-to-html) (111 "As HTML file and open" (lambda (a s v b) (if a (org-html-export-to-html t s v b) (org-open-file (org-html-export-to-html nil s v b)))))))) :translate-alist ((bold . org-html-bold) (center-block . org-html-center-block) (clock . org-html-clock) (code . org-html-code) (drawer . org-html-drawer) (dynamic-block . org-html-dynamic-block) (entity . org-html-entity) (example-block . org-html-example-block) (export-block . org-html-export-block) (export-snippet . org-html-export-snippet) (fixed-width . org-html-fixed-width) (footnote-reference . org-html-footnote-reference) (headline . org-html-headline) (horizontal-rule . org-html-horizontal-rule) (inline-src-block . org-html-inline-src-block) (inlinetask . org-html-inlinetask) (inner-template . org-html-inner-template) (italic . org-html-italic) (item . org-html-item) (keyword . org-html-keyword) (latex-environment . org-html-latex-environment) (latex-fragment . org-html-latex-fragment) (line-break . org-html-line-break) (link . org-html-link) (node-property . org-html-node-property) (paragraph . org-html-paragraph) (plain-list . org-html-plain-list) (plain-text . org-html-plain-text) (planning . org-html-planning) (property-drawer . org-html-property-drawer) (quote-block . org-html-quote-block) (radio-target . org-html-radio-target) (section . org-html-section) (special-block . org-html-special-block) (src-block . org-html-src-block) (statistics-cookie . org-html-statistics-cookie) (strike-through . org-html-strike-through) (subscript . org-html-subscript) (superscript . org-html-superscript) (table . org-html-table) (table-cell . org-html-table-cell) (table-row . org-html-table-row) (target . org-html-target) (template . org-html-template) (timestamp . org-html-timestamp) (underline . org-html-underline) (verbatim . org-html-verbatim) (verse-block . org-html-verse-block)) :exported-data # :input-buffer " *temp*" :input-file nil :html-doctype "xhtml-strict" :html-container "div" :html-content-class "content" :description nil :keywords nil :html-html5-fancy nil :html-link-use-abs-url nil :html-link-home "" :html-link-up "" :html-mathjax "" :html-equation-reference-format "\\eqref{%s}" :html-postamble auto :html-preamble t :html-head "" :html-head-extra "" :subtitle nil :html-head-include-default-style t :html-head-include-scripts nil :html-allow-name-attribute-in-anchors nil :html-divs ((preamble "div" "preamble") (content "div" "content") (postamble "div" "postamble")) :html-checkbox-type ascii :html-extension "html" :html-footnote-format "%s" :html-footnote-separator ", " :html-footnotes-section ") :html-format-headline-function org-html-format-headline-default-function :html-format-inlinetask-function org-html-format-inlinetask-default-function :html-home/up-format "" :html-indent nil :html-infojs-options ((path . "https://orgmode.org/org-info.js") (view . "info") (toc . :with-toc) (ftoc . "0") (tdepth . "max") (sdepth . "max") (mouse . "underline") (buttons . "0") (ltoc . "1") (up . :html-link-up) (home . :html-link-home)) :html-infojs-template "\n\n" :html-inline-image-rules (("file" . "\\(?:\\.\\(?:avif\\|gif\\|jp\\(?:e?g\\)\\|png\\|svg\\|webp\\)\\)") ("http" . "\\(?:\\.\\(?:avif\\|gif\\|jp\\(?:e?g\\)\\|png\\|svg\\|webp\\)\\)") ("https" . "\\(?:\\.\\(?:avif\\|gif\\|jp\\(?:e?g\\)\\|png\\|svg\\|webp\\)\\)")) :html-link-org-files-as-html t :html-mathjax-options ((path "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js") (scale 1.0) (align "center") (font "mathjax-modern") (overflow "overflow") (tags "ams") (indent "0em") (multlinewidth "85%") (tagindent ".8em") (tagside "right")) :html-mathjax-template "\n\n" :html-metadata-timestamp-format "%Y-%m-%d %a %H:%M" :html-postamble-format (("en" "\n" . " ") :html-table-header-tags ("" . " ") :html-table-use-header-tags-for-first-column nil :html-tag-class-prefix "" :html-text-markup-alist ((bold . "%s") (code . "%s") (underline . "%s") (verbatim . "" :html-table-row-close-tag " " :html-xml-declaration (("html" . "") ("php" . "\"; ?>")) :html-wrap-src-lines nil :html-klipsify-src nil :html-klipse-css "https://storage.googleapis.com/app.klipse.tech/css/codemirror.css" :html-klipse-js "https://storage.googleapis.com/app.klipse.tech/plugin_prod/js/klipse_plugin.min.js" :html-klipse-selection-script "window.klipse_settings = {selector_eval_html: '.src-html',\n selector_eval_js: '.src-js',\n selector_eval_python_client: '.src-python',\n selector_eval_scheme: '.src-scheme',\n selector: '.src-clojure',\n selector_eval_ruby: '.src-ruby'};" :infojs-opt nil :creator "Emacs 30.2 (Org mode 9.7.11)" :with-latex t :latex-header nil :title (#("Genenetwork2 Dockerized" 0 23 (:parent #148))) :date nil :author (#("unknown" 0 7 (:parent #152))) :email "unknown@genenetwork-development" :language "en" :select-tags ("export") :exclude-tags ("noexport") :headline-levels 3 :preserve-breaks nil :section-numbers nil :time-stamp-file t :with-archived-trees headline :with-author t :expand-links t :with-broken-links nil :with-clocks nil :with-creator nil :with-date t :with-drawers (not "LOGBOOK") :with-email nil :with-emphasize t :with-entities t :with-fixed-width t :with-footnotes t :with-inlinetasks t :with-planning nil :with-priority nil :with-properties nil :with-smart-quotes nil :with-special-strings t :with-special-rows nil :with-statistics-cookies t :with-sub-superscript t :with-toc nil :with-tables t :with-tags t :with-tasks t :with-timestamps t :with-title t :with-todo-keywords t :with-cite-processors t :cite-export (basic nil nil) :bibliography nil :filter-body nil :filter-bold nil :filter-babel-call nil :filter-center-block nil :filter-clock nil :filter-code nil :filter-diary-sexp nil :filter-drawer nil :filter-dynamic-block nil :filter-entity nil :filter-example-block nil :filter-export-block nil :filter-export-snippet nil :filter-final-output (org-html-final-function) :filter-fixed-width nil :filter-footnote-definition nil :filter-footnote-reference nil :filter-headline nil :filter-horizontal-rule nil :filter-inline-babel-call nil :filter-inline-src-block nil :filter-inlinetask nil :filter-italic nil :filter-item nil :filter-keyword nil :filter-latex-environment nil :filter-latex-fragment nil :filter-line-break nil :filter-link nil :filter-node-property nil :filter-options (org-html-infojs-install-script) :filter-paragraph nil :filter-parse-tree (org-html-image-link-filter) :filter-plain-list nil :filter-plain-text nil :filter-planning nil :filter-property-drawer nil :filter-quote-block nil :filter-radio-target nil :filter-section nil :filter-special-block nil :filter-src-block nil :filter-statistics-cookie nil :filter-strike-through nil :filter-subscript nil :filter-superscript nil :filter-table nil :filter-table-cell nil :filter-table-row nil :filter-target nil :filter-timestamp nil :filter-underline nil :filter-verbatim nil :filter-verse-block nil :ignore-list nil :parse-tree (org-data (:standard-properties [1 1 1 2857 2857 0 nil org-data nil nil nil 3 2857 nil # nil nil nil] :path nil :CATEGORY nil) (section (:standard-properties [1 1 1 35 35 0 nil first-section nil nil nil 1 35 nil # nil nil #344]) (keyword (:standard-properties [1 1 nil nil 35 1 nil top-comment nil nil nil nil nil nil # nil nil #347] :key "TITLE" :value "Genenetwork2 Dockerized"))) (headline (:standard-properties [35 35 113 260 260 0 (:title) nil nil nil nil 115 258 1 # nil nil #344] :pre-blank 0 :raw-value "Table of Contents" :title (#("Table of Contents" 0 17 (:parent #348))) :level 1 :priority nil :tags ("TOC") :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) (section (:standard-properties [113 113 113 260 260 0 nil section nil nil nil 113 260 nil # nil nil #348]) (plain-list (:standard-properties [113 113 113 259 260 1 nil planning nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) #351] :type unordered) (item (:standard-properties [113 113 115 147 147 0 (:tag) item nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) #354] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [115 115 115 147 147 0 nil nil nil nil nil nil nil nil # nil nil #357]) (link (:standard-properties [115 nil 132 144 146 0 nil nil nil nil nil nil nil nil # nil nil #360] :type "custom-id" :type-explicit-p nil :path "introduction" :format bracket :raw-link "#introduction" :application nil :search-option nil) #("Introduction" 0 12 (:parent #363))) #("\n" 0 1 (:parent #360)))) (item (:standard-properties [147 147 149 209 209 0 (:tag) item nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) #354] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [149 149 149 209 209 0 nil nil nil nil nil nil nil nil # nil nil #358]) (link (:standard-properties [149 nil 180 206 208 0 nil nil nil nil nil nil nil nil # nil nil #361] :type "custom-id" :type-explicit-p nil :path "creating-the-docker-images" :format bracket :raw-link "#creating-the-docker-images" :application nil :search-option nil) #("Creating the Docker Images" 0 26 (:parent #364))) #("\n" 0 1 (:parent #361)))) (item (:standard-properties [209 209 211 259 259 0 (:tag) item nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) #354] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [211 211 211 259 259 0 nil nil nil nil nil nil nil nil # nil nil #359]) (link (:standard-properties [211 nil 236 256 258 0 nil nil nil nil nil nil nil nil # nil nil #362] :type "custom-id" :type-explicit-p nil :path "pushing-to-dockerhub" :format bracket :raw-link "#pushing-to-dockerhub" :application nil :search-option nil) #("Pushing to DockerHub" 0 20 (:parent #365))) #("\n" 0 1 (:parent #362))))))) (headline (:standard-properties [260 260 276 926 926 0 (:title) nil nil nil nil 278 924 1 # nil nil #344] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-raw-value (2 14) t] :title (#("Introduction" 0 12 (:parent #349))) :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) (section (:standard-properties [276 276 276 926 926 0 nil section nil nil nil 276 926 nil # nil nil #349]) (paragraph (:standard-properties [276 276 276 599 600 1 nil planning nil nil nil nil nil nil # nil nil #352]) #("The CI(Continuous Integration) system for Genenetwork2 uses " 0 60 (:parent #355)) (link (:standard-properties [336 nil 375 389 391 0 nil nil nil nil nil nil nil nil # nil nil #355] :type "https" :type-explicit-p t :path "//github.com/features/actions" :format bracket :raw-link "https://github.com/features/actions" :application nil :search-option nil) #("Github\nActions" 0 14 (:parent #359))) #(". As such, it's important to have a way to run tests using\nfacilities provided by GUIX in a reproducible way. This project\nleverages GUIX to generate a docker container from which the unittests\nare ran from.\n" 0 208 (:parent #355))) (paragraph (:standard-properties [600 600 600 829 830 1 nil nil nil nil nil nil nil nil # nil nil #352]) #("Find instructions on how to set docker up inside GUIX " 0 54 (:parent #356)) (link (:standard-properties [654 nil 732 736 738 0 nil nil nil nil nil nil nil nil # nil nil #356] :type "https" :type-explicit-p t :path "//github.com/pjotrp/guix-notes/blob/master/CONTAINERS.org#run-docker" :format bracket :raw-link "https://github.com/pjotrp/guix-notes/blob/master/CONTAINERS.org#run-docker" :application nil :search-option nil) #("here" 0 4 (:parent #360))) #(". This\ndocument will not get into that. It's assumed that you have a working\ndocker setup.\n" 0 91 (:parent #356))) (paragraph (:standard-properties [830 830 830 925 926 1 nil nil nil nil nil nil nil nil # nil nil #352]) #("The rest of this document outlines how the docker container used in\nthe CI builds was created.\n" 0 95 (:parent #357))))) (headline (:standard-properties [926 926 956 2234 2234 0 (:title) nil nil nil nil 958 2232 1 # nil nil #344] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-raw-value (2 28) t] :title (#("Creating the Docker Images" 0 26 (:parent #350))) :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) (section (:standard-properties [956 956 956 2234 2234 0 nil section nil nil nil 956 2234 nil # nil nil #350]) (paragraph (:standard-properties [956 956 956 1070 1071 1 nil planning nil nil nil nil nil nil # nil nil #353]) #("The general idea is that GUIX is used to generate a set of binaries,\nwhich will be added to a base mariaDB image.\n" 0 114 (:parent #356))) (paragraph (:standard-properties [1071 1071 1071 1116 1117 1 nil nil nil nil nil nil nil nil # nil nil #353]) #("First create the gn2 tar archive by running:\n" 0 45 (:parent #357))) (src-block (:standard-properties [1117 1117 nil nil 1343 1 nil nil nil nil nil nil nil nil # nil nil #353] :language "sh" :switches nil :parameters nil :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (15 215) t])) (paragraph (:standard-properties [1343 1343 1343 1386 1387 1 nil nil nil nil nil nil nil nil # nil nil #353]) #("The output will look something similar to:\n" 0 43 (:parent #359))) (fixed-width (:standard-properties [1387 1387 nil nil 1454 2 nil nil nil nil nil nil nil nil # nil nil #353] :value "/gnu/store/x3m77vwaqcwba24p5s4lrb7w2ii16lj9-tarball-pack.tar.gz")) (paragraph (:standard-properties [1454 1454 1454 1639 1640 1 nil nil nil nil nil nil nil nil # nil nil #353]) #("Now create a folder from which will host the following dockerfile. You\ncan name this file Dockerfile. Note that mariadb is the base image\nsince it already has mariadb installed for us.\n" 0 185 (:parent #361))) (src-block (:standard-properties [1640 1640 nil nil 1887 1 nil nil nil nil nil nil nil nil # nil nil #353] :language "conf" :switches nil :parameters ":mkdirp yes :tangle ~/docker/Dockerfile" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (57 236) t])) (paragraph (:standard-properties [1887 1887 1887 1934 1935 1 nil nil nil nil nil nil nil nil # nil nil #353]) #("Build the image(Note the fullstop at the end):\n" 0 47 (:parent #363))) (fixed-width (:standard-properties [1935 1935 nil nil 1995 2 nil nil nil nil nil nil nil nil # nil nil #353] :value "sudo docker build -t genenetwork2:latest -f Dockerfile .")) (paragraph (:standard-properties [1995 1995 1995 2048 2049 1 nil nil nil nil nil nil nil nil # nil nil #353]) #("To load the image interactively you've just created:\n" 0 53 (:parent #365))) (fixed-width (:standard-properties [2049 2049 nil nil 2094 2 nil nil nil nil nil nil nil nil # nil nil #353] :value "docker run -ti \"genenetwork2:latest\" bash")) (paragraph (:standard-properties [2094 2094 2094 2180 2181 1 nil nil nil nil nil nil nil nil # nil nil #353]) #("Assuming you have a docker instance running, you could always run\ncommands in it e.g:\n" 0 86 (:parent #367))) (fixed-width (:standard-properties [2181 2181 nil nil 2234 2 nil nil nil nil nil nil nil nil # nil nil #353] :value "docker run \"genenetwork2:latest\" python --version")))) (headline (:standard-properties [2234 2234 2258 2857 2857 0 (:title) nil nil nil nil 2260 2855 1 # nil nil #344] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-raw-value (2 22) t] :title (#("Pushing to DockerHub" 0 20 (:parent #351))) :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) (section (:standard-properties [2258 2258 2258 2857 2857 0 nil section nil nil nil 2258 2857 nil # nil nil #351]) (paragraph (:standard-properties [2258 2258 2258 2364 2365 1 nil planning nil nil nil nil nil nil # nil nil #354]) #("We use DockerHub to store the docker images from which we use on our\nCI environment using Github Actions.\n" 0 106 (:parent #357))) (paragraph (:standard-properties [2365 2365 2365 2486 2487 1 nil nil nil nil nil nil nil nil # nil nil #354]) #("To push to dockerhub, first get the image name by running " 0 58 (:parent #358)) (verbatim (:standard-properties [2423 nil nil nil 2438 0 nil nil nil nil nil nil nil nil # nil nil #358] :value [org-element-deferred org-element--substring (1 14) t])) #(". Push to dockerhub using a command similar to:\n" 0 48 (:parent #358))) (fixed-width (:standard-properties [2487 2487 nil nil 2534 2 nil nil nil nil nil nil nil nil # nil nil #354] :value "docker push bonfacekilz/genenetwork2:latest")) (paragraph (:standard-properties [2534 2534 2534 2576 2577 1 nil nil nil nil nil nil nil nil # nil nil #354]) #("Right now, we have 2 images on DockerHub:\n" 0 42 (:parent #360))) (plain-list (:standard-properties [2577 2577 2577 2857 2857 0 nil nil nil nil nil nil nil nil # nil ((2577 0 "- " nil nil nil 2741) (2741 0 "- " nil nil nil 2857)) #354] :type unordered) (item (:standard-properties [2577 2577 2579 2741 2741 0 (:tag) item nil nil nil nil nil nil # nil ((2577 0 "- " nil nil nil 2741) (2741 0 "- " nil nil nil 2857)) #361] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [2579 2579 2579 2741 2741 0 nil nil nil nil nil nil nil nil # nil nil #364]) (link (:standard-properties [2579 nil nil nil 2652 0 nil nil nil nil nil nil nil nil # nil nil #367] :type "https" :type-explicit-p t :path "//hub.docker.com/repository/docker/bonfacekilz/python2-genenetwork2" :format plain :raw-link "https://hub.docker.com/repository/docker/bonfacekilz/python2-genenetwork2" :application nil :search-option nil)) #(":\n Contains the python2 version of gn2. Don't use this. Please use the\n python3 image!\n" 0 89 (:parent #367)))) (item (:standard-properties [2741 2741 2743 2857 2857 0 (:tag) item nil nil nil nil nil nil # nil ((2577 0 "- " nil nil nil 2741) (2741 0 "- " nil nil nil 2857)) #361] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [2743 2743 2743 2857 2857 0 nil nil nil nil nil nil nil nil # nil nil #365]) (link (:standard-properties [2743 nil nil nil 2816 0 nil nil nil nil nil nil nil nil # nil nil #368] :type "https" :type-explicit-p t :path "//hub.docker.com/repository/docker/bonfacekilz/python3-genenetwork2" :format plain :raw-link "https://hub.docker.com/repository/docker/bonfacekilz/python3-genenetwork2" :application nil :search-option nil)) #(":\n Contains the python3 version of gn2.\n" 0 41 (:parent #368)))))))) :headline-offset 0 :headline-numbering nil :id-alist nil :citations nil :id-local-cache #))
#f(compiled-function (element) #)((link (:standard-properties [115 nil 132 144 146 0 nil nil nil nil nil nil nil nil # nil nil (paragraph (:standard-properties [115 115 115 147 147 0 nil nil nil nil nil nil nil nil # nil nil (item (:standard-properties [113 113 115 147 147 0 (:tag) item nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) (plain-list (:standard-properties [113 113 113 259 260 1 nil planning nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) (section (:standard-properties [113 113 113 260 260 0 nil section nil nil nil 113 260 nil # nil nil (headline (:standard-properties [35 35 113 260 260 0 (:title) nil nil nil nil 115 258 1 # nil nil (org-data (:standard-properties [1 1 1 2857 2857 0 nil org-data nil nil nil 3 2857 nil # nil nil nil] :path nil :CATEGORY nil) (section (:standard-properties [1 1 1 35 35 0 nil first-section nil nil nil 1 35 nil # nil nil #30]) (keyword (:standard-properties [1 1 nil nil 35 1 nil top-comment nil nil nil nil nil nil # nil nil #33] :key "TITLE" :value "Genenetwork2 Dockerized"))) #25 (headline (:standard-properties [260 260 276 926 926 0 (:title) nil nil nil nil 278 924 1 # nil nil #30] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-raw-value (2 14) t] :title (#("Introduction" 0 12 (:parent #35))) :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) (section (:standard-properties [276 276 276 926 926 0 nil section nil nil nil 276 926 nil # nil nil #35]) (paragraph (:standard-properties [276 276 276 599 600 1 nil planning nil nil nil nil nil nil # nil nil #38]) #("The CI(Continuous Integration) system for Genenetwork2 uses " 0 60 (:parent #41)) (link (:standard-properties [336 nil 375 389 391 0 nil nil nil nil nil nil nil nil # nil nil #41] :type "https" :type-explicit-p t :path "//github.com/features/actions" :format bracket :raw-link "https://github.com/features/actions" :application nil :search-option nil) #("Github\nActions" 0 14 (:parent #45))) #(". As such, it's important to have a way to run tests using\nfacilities provided by GUIX in a reproducible way. This project\nleverages GUIX to generate a docker container from which the unittests\nare ran from.\n" 0 208 (:parent #41))) (paragraph (:standard-properties [600 600 600 829 830 1 nil nil nil nil nil nil nil nil # nil nil #38]) #("Find instructions on how to set docker up inside GUIX " 0 54 (:parent #42)) (link (:standard-properties [654 nil 732 736 738 0 nil nil nil nil nil nil nil nil # nil nil #42] :type "https" :type-explicit-p t :path "//github.com/pjotrp/guix-notes/blob/master/CONTAINERS.org#run-docker" :format bracket :raw-link "https://github.com/pjotrp/guix-notes/blob/master/CONTAINERS.org#run-docker" :application nil :search-option nil) #("here" 0 4 (:parent #46))) #(". This\ndocument will not get into that. It's assumed that you have a working\ndocker setup.\n" 0 91 (:parent #42))) (paragraph (:standard-properties [830 830 830 925 926 1 nil nil nil nil nil nil nil nil # nil nil #38]) #("The rest of this document outlines how the docker container used in\nthe CI builds was created.\n" 0 95 (:parent #43))))) (headline (:standard-properties [926 926 956 2234 2234 0 (:title) nil nil nil nil 958 2232 1 # nil nil #30] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-raw-value (2 28) t] :title (#("Creating the Docker Images" 0 26 (:parent #36))) :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) (section (:standard-properties [956 956 956 2234 2234 0 nil section nil nil nil 956 2234 nil # nil nil #36]) (paragraph (:standard-properties [956 956 956 1070 1071 1 nil planning nil nil nil nil nil nil # nil nil #39]) #("The general idea is that GUIX is used to generate a set of binaries,\nwhich will be added to a base mariaDB image.\n" 0 114 (:parent #42))) (paragraph (:standard-properties [1071 1071 1071 1116 1117 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("First create the gn2 tar archive by running:\n" 0 45 (:parent #43))) (src-block (:standard-properties [1117 1117 nil nil 1343 1 nil nil nil nil nil nil nil nil # nil nil #39] :language "sh" :switches nil :parameters nil :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (15 215) t])) (paragraph (:standard-properties [1343 1343 1343 1386 1387 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("The output will look something similar to:\n" 0 43 (:parent #45))) (fixed-width (:standard-properties [1387 1387 nil nil 1454 2 nil nil nil nil nil nil nil nil # nil nil #39] :value "/gnu/store/x3m77vwaqcwba24p5s4lrb7w2ii16lj9-tarball-pack.tar.gz")) (paragraph (:standard-properties [1454 1454 1454 1639 1640 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("Now create a folder from which will host the following dockerfile. You\ncan name this file Dockerfile. Note that mariadb is the base image\nsince it already has mariadb installed for us.\n" 0 185 (:parent #47))) (src-block (:standard-properties [1640 1640 nil nil 1887 1 nil nil nil nil nil nil nil nil # nil nil #39] :language "conf" :switches nil :parameters ":mkdirp yes :tangle ~/docker/Dockerfile" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (57 236) t])) (paragraph (:standard-properties [1887 1887 1887 1934 1935 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("Build the image(Note the fullstop at the end):\n" 0 47 (:parent #49))) (fixed-width (:standard-properties [1935 1935 nil nil 1995 2 nil nil nil nil nil nil nil nil # nil nil #39] :value "sudo docker build -t genenetwork2:latest -f Dockerfile .")) (paragraph (:standard-properties [1995 1995 1995 2048 2049 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("To load the image interactively you've just created:\n" 0 53 (:parent #51))) (fixed-width (:standard-properties [2049 2049 nil nil 2094 2 nil nil nil nil nil nil nil nil # nil nil #39] :value "docker run -ti \"genenetwork2:latest\" bash")) (paragraph (:standard-properties [2094 2094 2094 2180 2181 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("Assuming you have a docker instance running, you could always run\ncommands in it e.g:\n" 0 86 (:parent #53))) (fixed-width (:standard-properties [2181 2181 nil nil 2234 2 nil nil nil nil nil nil nil nil # nil nil #39] :value "docker run \"genenetwork2:latest\" python --version")))) (headline (:standard-properties [2234 2234 2258 2857 2857 0 (:title) nil nil nil nil 2260 2855 1 # nil nil #30] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-raw-value (2 22) t] :title (#("Pushing to DockerHub" 0 20 (:parent #37))) :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) (section (:standard-properties [2258 2258 2258 2857 2857 0 nil section nil nil nil 2258 2857 nil # nil nil #37]) (paragraph (:standard-properties [2258 2258 2258 2364 2365 1 nil planning nil nil nil nil nil nil # nil nil #40]) #("We use DockerHub to store the docker images from which we use on our\nCI environment using Github Actions.\n" 0 106 (:parent #43))) (paragraph (:standard-properties [2365 2365 2365 2486 2487 1 nil nil nil nil nil nil nil nil # nil nil #40]) #("To push to dockerhub, first get the image name by running " 0 58 (:parent #44)) (verbatim (:standard-properties [2423 nil nil nil 2438 0 nil nil nil nil nil nil nil nil # nil nil #44] :value [org-element-deferred org-element--substring (1 14) t])) #(". Push to dockerhub using a command similar to:\n" 0 48 (:parent #44))) (fixed-width (:standard-properties [2487 2487 nil nil 2534 2 nil nil nil nil nil nil nil nil # nil nil #40] :value "docker push bonfacekilz/genenetwork2:latest")) (paragraph (:standard-properties [2534 2534 2534 2576 2577 1 nil nil nil nil nil nil nil nil # nil nil #40]) #("Right now, we have 2 images on DockerHub:\n" 0 42 (:parent #46))) (plain-list (:standard-properties [2577 2577 2577 2857 2857 0 nil nil nil nil nil nil nil nil # nil ((2577 0 "- " nil nil nil 2741) (2741 0 "- " nil nil nil 2857)) #40] :type unordered) (item (:standard-properties [2577 2577 2579 2741 2741 0 (:tag) item nil nil nil nil nil nil # nil ((2577 0 "- " nil nil nil 2741) (2741 0 "- " nil nil nil 2857)) #47] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [2579 2579 2579 2741 2741 0 nil nil nil nil nil nil nil nil # nil nil #50]) (link (:standard-properties [2579 nil nil nil 2652 0 nil nil nil nil nil nil nil nil # nil nil #53] :type "https" :type-explicit-p t :path "//hub.docker.com/repository/docker/bonfacekilz/python2-genenetwork2" :format plain :raw-link "https://hub.docker.com/repository/docker/bonfacekilz/python2-genenetwork2" :application nil :search-option nil)) #(":\n Contains the python2 version of gn2. Don't use this. Please use the\n python3 image!\n" 0 89 (:parent #53)))) (item (:standard-properties [2741 2741 2743 2857 2857 0 (:tag) item nil nil nil nil nil nil # nil ((2577 0 "- " nil nil nil 2741) (2741 0 "- " nil nil nil 2857)) #47] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [2743 2743 2743 2857 2857 0 nil nil nil nil nil nil nil nil # nil nil #51]) (link (:standard-properties [2743 nil nil nil 2816 0 nil nil nil nil nil nil nil nil # nil nil #54] :type "https" :type-explicit-p t :path "//hub.docker.com/repository/docker/bonfacekilz/python3-genenetwork2" :format plain :raw-link "https://hub.docker.com/repository/docker/bonfacekilz/python3-genenetwork2" :application nil :search-option nil)) #(":\n Contains the python3 version of gn2.\n" 0 41 (:parent #54))))))))] :pre-blank 0 :raw-value "Table of Contents" :title (#("Table of Contents" 0 17 (:parent #25))) :level 1 :priority nil :tags ("TOC") :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) #20)]) #15)] :type unordered) #10 (item (:standard-properties [147 147 149 209 209 0 (:tag) item nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) #15] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [149 149 149 209 209 0 nil nil nil nil nil nil nil nil # nil nil #19]) (link (:standard-properties [149 nil 180 206 208 0 nil nil nil nil nil nil nil nil # nil nil #22] :type "custom-id" :type-explicit-p nil :path "creating-the-docker-images" :format bracket :raw-link "#creating-the-docker-images" :application nil :search-option nil) #("Creating the Docker Images" 0 26 (:parent #25))) #("\n" 0 1 (:parent #22)))) (item (:standard-properties [209 209 211 259 259 0 (:tag) item nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) #15] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [211 211 211 259 259 0 nil nil nil nil nil nil nil nil # nil nil #20]) (link (:standard-properties [211 nil 236 256 258 0 nil nil nil nil nil nil nil nil # nil nil #23] :type "custom-id" :type-explicit-p nil :path "pushing-to-dockerhub" :format bracket :raw-link "#pushing-to-dockerhub" :application nil :search-option nil) #("Pushing to DockerHub" 0 20 (:parent #26))) #("\n" 0 1 (:parent #23)))))] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) #5)]) #0 #("\n" 0 1 (:parent #5)))] :type "custom-id" :type-explicit-p nil :path "introduction" :format bracket :raw-link "#introduction" :application nil :search-option nil) #("Introduction" 0 12 (:parent #0))))
mapconcat(#f(compiled-function (element) #) ((link (:standard-properties [115 nil 132 144 146 0 nil nil nil nil nil nil nil nil # nil nil (paragraph (:standard-properties [115 115 115 147 147 0 nil nil nil nil nil nil nil nil # nil nil (item (:standard-properties [113 113 115 147 147 0 (:tag) item nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) (plain-list (:standard-properties [113 113 113 259 260 1 nil planning nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) (section (:standard-properties [113 113 113 260 260 0 nil section nil nil nil 113 260 nil # nil nil (headline (:standard-properties [35 35 113 260 260 0 (:title) nil nil nil nil 115 258 1 # nil nil (org-data (:standard-properties [1 1 1 2857 2857 0 nil org-data nil nil nil 3 2857 nil # nil nil nil] :path nil :CATEGORY nil) (section (:standard-properties [1 1 1 35 35 0 nil first-section nil nil nil 1 35 nil # nil nil #31]) (keyword (:standard-properties [1 1 nil nil 35 1 nil top-comment nil nil nil nil nil nil # nil nil #34] :key "TITLE" :value "Genenetwork2 Dockerized"))) #26 (headline (:standard-properties [260 260 276 926 926 0 (:title) nil nil nil nil 278 924 1 # nil nil #31] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-raw-value (2 14) t] :title (#("Introduction" 0 12 (:parent #36))) :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) (section (:standard-properties [276 276 276 926 926 0 nil section nil nil nil 276 926 nil # nil nil #36]) (paragraph (:standard-properties [276 276 276 599 600 1 nil planning nil nil nil nil nil nil # nil nil #39]) #("The CI(Continuous Integration) system for Genenetwork2 uses " 0 60 (:parent #42)) (link (:standard-properties [336 nil 375 389 391 0 nil nil nil nil nil nil nil nil # nil nil #42] :type "https" :type-explicit-p t :path "//github.com/features/actions" :format bracket :raw-link "https://github.com/features/actions" :application nil :search-option nil) #("Github\nActions" 0 14 (:parent #46))) #(". As such, it's important to have a way to run tests using\nfacilities provided by GUIX in a reproducible way. This project\nleverages GUIX to generate a docker container from which the unittests\nare ran from.\n" 0 208 (:parent #42))) (paragraph (:standard-properties [600 600 600 829 830 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("Find instructions on how to set docker up inside GUIX " 0 54 (:parent #43)) (link (:standard-properties [654 nil 732 736 738 0 nil nil nil nil nil nil nil nil # nil nil #43] :type "https" :type-explicit-p t :path "//github.com/pjotrp/guix-notes/blob/master/CONTAINERS.org#run-docker" :format bracket :raw-link "https://github.com/pjotrp/guix-notes/blob/master/CONTAINERS.org#run-docker" :application nil :search-option nil) #("here" 0 4 (:parent #47))) #(". This\ndocument will not get into that. It's assumed that you have a working\ndocker setup.\n" 0 91 (:parent #43))) (paragraph (:standard-properties [830 830 830 925 926 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("The rest of this document outlines how the docker container used in\nthe CI builds was created.\n" 0 95 (:parent #44))))) (headline (:standard-properties [926 926 956 2234 2234 0 (:title) nil nil nil nil 958 2232 1 # nil nil #31] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-raw-value (2 28) t] :title (#("Creating the Docker Images" 0 26 (:parent #37))) :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) (section (:standard-properties [956 956 956 2234 2234 0 nil section nil nil nil 956 2234 nil # nil nil #37]) (paragraph (:standard-properties [956 956 956 1070 1071 1 nil planning nil nil nil nil nil nil # nil nil #40]) #("The general idea is that GUIX is used to generate a set of binaries,\nwhich will be added to a base mariaDB image.\n" 0 114 (:parent #43))) (paragraph (:standard-properties [1071 1071 1071 1116 1117 1 nil nil nil nil nil nil nil nil # nil nil #40]) #("First create the gn2 tar archive by running:\n" 0 45 (:parent #44))) (src-block (:standard-properties [1117 1117 nil nil 1343 1 nil nil nil nil nil nil nil nil # nil nil #40] :language "sh" :switches nil :parameters nil :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (15 215) t])) (paragraph (:standard-properties [1343 1343 1343 1386 1387 1 nil nil nil nil nil nil nil nil # nil nil #40]) #("The output will look something similar to:\n" 0 43 (:parent #46))) (fixed-width (:standard-properties [1387 1387 nil nil 1454 2 nil nil nil nil nil nil nil nil # nil nil #40] :value "/gnu/store/x3m77vwaqcwba24p5s4lrb7w2ii16lj9-tarball-pack.tar.gz")) (paragraph (:standard-properties [1454 1454 1454 1639 1640 1 nil nil nil nil nil nil nil nil # nil nil #40]) #("Now create a folder from which will host the following dockerfile. You\ncan name this file Dockerfile. Note that mariadb is the base image\nsince it already has mariadb installed for us.\n" 0 185 (:parent #48))) (src-block (:standard-properties [1640 1640 nil nil 1887 1 nil nil nil nil nil nil nil nil # nil nil #40] :language "conf" :switches nil :parameters ":mkdirp yes :tangle ~/docker/Dockerfile" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (57 236) t])) (paragraph (:standard-properties [1887 1887 1887 1934 1935 1 nil nil nil nil nil nil nil nil # nil nil #40]) #("Build the image(Note the fullstop at the end):\n" 0 47 (:parent #50))) (fixed-width (:standard-properties [1935 1935 nil nil 1995 2 nil nil nil nil nil nil nil nil # nil nil #40] :value "sudo docker build -t genenetwork2:latest -f Dockerfile .")) (paragraph (:standard-properties [1995 1995 1995 2048 2049 1 nil nil nil nil nil nil nil nil # nil nil #40]) #("To load the image interactively you've just created:\n" 0 53 (:parent #52))) (fixed-width (:standard-properties [2049 2049 nil nil 2094 2 nil nil nil nil nil nil nil nil # nil nil #40] :value "docker run -ti \"genenetwork2:latest\" bash")) (paragraph (:standard-properties [2094 2094 2094 2180 2181 1 nil nil nil nil nil nil nil nil # nil nil #40]) #("Assuming you have a docker instance running, you could always run\ncommands in it e.g:\n" 0 86 (:parent #54))) (fixed-width (:standard-properties [2181 2181 nil nil 2234 2 nil nil nil nil nil nil nil nil # nil nil #40] :value "docker run \"genenetwork2:latest\" python --version")))) (headline (:standard-properties [2234 2234 2258 2857 2857 0 (:title) nil nil nil nil 2260 2855 1 # nil nil #31] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-raw-value (2 22) t] :title (#("Pushing to DockerHub" 0 20 (:parent #38))) :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) (section (:standard-properties [2258 2258 2258 2857 2857 0 nil section nil nil nil 2258 2857 nil # nil nil #38]) (paragraph (:standard-properties [2258 2258 2258 2364 2365 1 nil planning nil nil nil nil nil nil # nil nil #41]) #("We use DockerHub to store the docker images from which we use on our\nCI environment using Github Actions.\n" 0 106 (:parent #44))) (paragraph (:standard-properties [2365 2365 2365 2486 2487 1 nil nil nil nil nil nil nil nil # nil nil #41]) #("To push to dockerhub, first get the image name by running " 0 58 (:parent #45)) (verbatim (:standard-properties [2423 nil nil nil 2438 0 nil nil nil nil nil nil nil nil # nil nil #45] :value [org-element-deferred org-element--substring (1 14) t])) #(". Push to dockerhub using a command similar to:\n" 0 48 (:parent #45))) (fixed-width (:standard-properties [2487 2487 nil nil 2534 2 nil nil nil nil nil nil nil nil # nil nil #41] :value "docker push bonfacekilz/genenetwork2:latest")) (paragraph (:standard-properties [2534 2534 2534 2576 2577 1 nil nil nil nil nil nil nil nil # nil nil #41]) #("Right now, we have 2 images on DockerHub:\n" 0 42 (:parent #47))) (plain-list (:standard-properties [2577 2577 2577 2857 2857 0 nil nil nil nil nil nil nil nil # nil ((2577 0 "- " nil nil nil 2741) (2741 0 "- " nil nil nil 2857)) #41] :type unordered) (item (:standard-properties [2577 2577 2579 2741 2741 0 (:tag) item nil nil nil nil nil nil # nil ((2577 0 "- " nil nil nil 2741) (2741 0 "- " nil nil nil 2857)) #48] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [2579 2579 2579 2741 2741 0 nil nil nil nil nil nil nil nil # nil nil #51]) (link (:standard-properties [2579 nil nil nil 2652 0 nil nil nil nil nil nil nil nil # nil nil #54] :type "https" :type-explicit-p t :path "//hub.docker.com/repository/docker/bonfacekilz/python2-genenetwork2" :format plain :raw-link "https://hub.docker.com/repository/docker/bonfacekilz/python2-genenetwork2" :application nil :search-option nil)) #(":\n Contains the python2 version of gn2. Don't use this. Please use the\n python3 image!\n" 0 89 (:parent #54)))) (item (:standard-properties [2741 2741 2743 2857 2857 0 (:tag) item nil nil nil nil nil nil # nil ((2577 0 "- " nil nil nil 2741) (2741 0 "- " nil nil nil 2857)) #48] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [2743 2743 2743 2857 2857 0 nil nil nil nil nil nil nil nil # nil nil #52]) (link (:standard-properties [2743 nil nil nil 2816 0 nil nil nil nil nil nil nil nil # nil nil #55] :type "https" :type-explicit-p t :path "//hub.docker.com/repository/docker/bonfacekilz/python3-genenetwork2" :format plain :raw-link "https://hub.docker.com/repository/docker/bonfacekilz/python3-genenetwork2" :application nil :search-option nil)) #(":\n Contains the python3 version of gn2.\n" 0 41 (:parent #55))))))))] :pre-blank 0 :raw-value "Table of Contents" :title (#("Table of Contents" 0 17 (:parent #26))) :level 1 :priority nil :tags ("TOC") :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) #21)]) #16)] :type unordered) #11 (item (:standard-properties [147 147 149 209 209 0 (:tag) item nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) #16] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [149 149 149 209 209 0 nil nil nil nil nil nil nil nil # nil nil #20]) (link (:standard-properties [149 nil 180 206 208 0 nil nil nil nil nil nil nil nil # nil nil #23] :type "custom-id" :type-explicit-p nil :path "creating-the-docker-images" :format bracket :raw-link "#creating-the-docker-images" :application nil :search-option nil) #("Creating the Docker Images" 0 26 (:parent #26))) #("\n" 0 1 (:parent #23)))) (item (:standard-properties [209 209 211 259 259 0 (:tag) item nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) #16] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [211 211 211 259 259 0 nil nil nil nil nil nil nil nil # nil nil #21]) (link (:standard-properties [211 nil 236 256 258 0 nil nil nil nil nil nil nil nil # nil nil #24] :type "custom-id" :type-explicit-p nil :path "pushing-to-dockerhub" :format bracket :raw-link "#pushing-to-dockerhub" :application nil :search-option nil) #("Pushing to DockerHub" 0 20 (:parent #27))) #("\n" 0 1 (:parent #24)))))] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) #6)]) . #0)] :type "custom-id" :type-explicit-p nil :path "introduction" :format bracket :raw-link "#introduction" :application nil :search-option nil) #("Introduction" 0 12 (:parent #1))) #("\n" 0 1 (:parent (paragraph (:standard-properties [115 115 115 147 147 0 nil nil nil nil nil nil nil nil # nil nil (item (:standard-properties [113 113 115 147 147 0 (:tag) item nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) (plain-list (:standard-properties [113 113 113 259 260 1 nil planning nil nil nil nil nil nil # nil ((113 0 "- " nil nil nil 147) (147 0 "- " nil nil nil 209) (209 0 "- " nil nil nil 259)) (section (:standard-properties [113 113 113 260 260 0 nil section nil nil nil 113 260 nil # nil nil (headline (:standard-properties [35 35 113 260 260 0 (:title) nil nil nil nil 115 258 1 # nil nil (org-data (:standard-properties [1 1 1 2857 2857 0 nil org-data nil nil nil 3 2857 nil # nil nil nil] :path nil :CATEGORY nil) (section (:standard-properties [1 1 1 35 35 0 nil first-section nil nil nil 1 35 nil # nil nil #30]) (keyword (:standard-properties [1 1 nil nil 35 1 nil top-comment nil nil nil nil nil nil # nil nil #33] :key "TITLE" :value "Genenetwork2 Dockerized"))) #25 (headline (:standard-properties [260 260 276 926 926 0 (:title) nil nil nil nil 278 924 1 # nil nil #30] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-raw-value (2 14) t] :title (#("Introduction" 0 12 (:parent #35))) :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) (section (:standard-properties [276 276 276 926 926 0 nil section nil nil nil 276 926 nil # nil nil #35]) (paragraph (:standard-properties [276 276 276 599 600 1 nil planning nil nil nil nil nil nil # nil nil #38]) #("The CI(Continuous Integration) system for Genenetwork2 uses " 0 60 (:parent #41)) (link (:standard-properties [336 nil 375 389 391 0 nil nil nil nil nil nil nil nil # nil nil #41] :type "https" :type-explicit-p t :path "//github.com/features/actions" :format bracket :raw-link "https://github.com/features/actions" :application nil :search-option nil) #("Github\nActions" 0 14 (:parent #45))) #(". As such, it's important to have a way to run tests using\nfacilities provided by GUIX in a reproducible way. This project\nleverages GUIX to generate a docker container from which the unittests\nare ran from.\n" 0 208 (:parent #41))) (paragraph (:standard-properties [600 600 600 829 830 1 nil nil nil nil nil nil nil nil # nil nil #38]) #("Find instructions on how to set docker up inside GUIX " 0 54 (:parent #42)) (link (:standard-properties [654 nil 732 736 738 0 nil nil nil nil nil nil nil nil # nil nil #42] :type "https" :type-explicit-p t :path "//github.com/pjotrp/guix-notes/blob/master/CONTAINERS.org#run-docker" :format bracket :raw-link "https://github.com/pjotrp/guix-notes/blob/master/CONTAINERS.org#run-docker" :application nil :search-option nil) #("here" 0 4 (:parent #46))) #(". This\ndocument will not get into that. It's assumed that you have a working\ndocker setup.\n" 0 91 (:parent #42))) (paragraph (:standard-properties [830 830 830 925 926 1 nil nil nil nil nil nil nil nil # nil nil #38]) #("The rest of this document outlines how the docker container used in\nthe CI builds was created.\n" 0 95 (:parent #43))))) (headline (:standard-properties [926 926 956 2234 2234 0 (:title) nil nil nil nil 958 2232 1 # nil nil #30] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-raw-value (2 28) t] :title (#("Creating the Docker Images" 0 26 (:parent #36))) :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) (section (:standard-properties [956 956 956 2234 2234 0 nil section nil nil nil 956 2234 nil # nil nil #36]) (paragraph (:standard-properties [956 956 956 1070 1071 1 nil planning nil nil nil nil nil nil # nil nil #39]) #("The general idea is that GUIX is used to generate a set of binaries,\nwhich will be added to a base mariaDB image.\n" 0 114 (:parent #42))) (paragraph (:standard-properties [1071 1071 1071 1116 1117 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("First create the gn2 tar archive by running:\n" 0 45 (:parent #43))) (src-block (:standard-properties [1117 1117 nil nil 1343 1 nil nil nil nil nil nil nil nil # nil nil #39] :language "sh" :switches nil :parameters nil :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (15 215) t])) (paragraph (:standard-properties [1343 1343 1343 1386 1387 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("The output will look something similar to:\n" 0 43 (:parent #45))) (fixed-width (:standard-properties [1387 1387 nil nil 1454 2 nil nil nil nil nil nil nil nil # nil nil #39] :value "/gnu/store/x3m77vwaqcwba24p5s4lrb7w2ii16lj9-tarball-pack.tar.gz")) (paragraph (:standard-properties [1454 1454 1454 1639 1640 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("Now create a folder from which will host the following dockerfile. You\ncan name this file Dockerfile. Note that mariadb is the base image\nsince it already has mariadb installed for us.\n" 0 185 (:parent #47))) (src-block (:standard-properties [1640 1640 nil nil 1887 1 nil nil nil nil nil nil nil nil # nil nil #39] :language "conf" :switches nil :parameters ":mkdirp yes :tangle ~/docker/Dockerfile" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (57 236) t])) (paragraph (:standard-properties [1887 1887 1887 1934 1935 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("Build the image(Note the fullstop at the end):\n" 0 47 (:parent #49))) (fixed-width (:standard-properties [1935 1935 nil nil 1995 2 nil nil nil nil nil nil nil nil # nil nil #39] :value "sudo docker build -t genenetwork2:latest -f Dockerfile .")) (paragraph (:standard-properties [1995 1995 1995 2048 2049 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("To load the image interactively you've just created:\n" 0 53 (:parent #51))) (fixed-width (:standard-properties [2049 2049 nil nil 2094 2 nil nil nil nil nil nil nil nil # nil nil #39] :value "docker run -ti \"genenetwork2:latest\" bash")) (paragraph (:standard-properties [2094 2094 2094 2180 2181 1 nil nil nil nil nil nil nil nil # nil nil #39]) #("Assuming you have a docker instance running, you could always run\ncommands in it e.g:\n" 0 86 (:parent #53))) (fixed-width (:standard-properties [2181 2181 nil nil 2234 2 nil nil nil nil nil nil nil nil # nil nil #39] :value "docker run \"genenetwork2:latest\" python --version")))) (headline (:standard-properties [2234 2234 2258 2857 2857 0 (:title) nil nil nil nil 2260 2855 1 # nil nil #30] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-raw-value (2 22) t] :title (#("Pushing to DockerHub" 0 20 (:parent #37))) :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil) (section (:standard-properties [2258 2258 2258 2857 2857 0 nil section nil nil nil 2258 2857 nil # nil nil #37]) (paragraph (:standard-properties [2258 2258 2258 2364 2365 1 nil planning nil nil nil nil nil nil # nil nil #40]) #("We use DockerHub to store the docker images from which we use on our\nCI environment using Github Actions.\n" 0 106 (:parent #43))) (paragraph (:standard-properties [2365 2365 2365 2486 2487 1 nil nil nil nil nil nil nil nil # nil nil #40]) #("To push to dockerhub, first get the image name by running " 0 58 (:parent #44)) (verbatim (:standard-properties [2423 nil nil nil 2438 0 nil nil nil nil nil nil nil nil # nil nil #44] :value [org-element-deferred org-element--substring (1 14) t])) #(". Push to dockerhub using a command similar to:\n" 0 48 (:parent #44))) (fixed-width (:standard-properties [2487 2487 nil nil 2534 2 nil nil nil nil nil nil nil nil # nil nil #40] :value "docker push bonfacekilz/genenetwork2:latest")) (paragraph (:standard-properties [2534 2534 2534 2576 2577 1 nil nil nil nil nil nil nil nil # nil nil #40]) #("Right now, we have 2 images on DockerHub:\n" 0 42 (:parent #46))) (plain-list (:standard-properties [2577 2577 2577 2857 2857 0 nil nil nil nil nil nil nil nil # nil ((2577 0 "- " nil nil nil 2741) (2741 0 "- " nil nil nil 2857)) #40] :type unordered) (item (:standard-properties [2577 2577 2579 2741 2741 0 (:tag) item nil nil nil nil nil nil # nil ((2577 0 "- " nil nil nil 2741) (2741 0 "- " nil nil nil 2857)) #47] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [2579 2579 2579 2741 2741 0 nil nil nil nil nil nil nil nil # nil nil #50]) (link (:standard-properties [2579 nil nil nil 2652 0 nil nil nil nil nil nil nil nil # nil nil #53] :type "https" :type-explicit-p t :path "//hub.docker.com/repository/docker/bonfacekilz/python2-genenetwork2" :format plain :raw-link "https://hub.docker.com/repository/docker/bonfacekilz/python2-genenetwork2" :application nil :search-option nil)) #(":\n Contains the python2 version of gn2. Don't use this. Please use the\n python3 image!\n" 0 89 (:parent #53)))) (item (:standard-properties [2741 2741 2743 2857 2857 0 (:tag) item nil nil nil nil nil nil # nil ((2577 0 "- " nil nil nil 2741) (2741 0 "- " nil nil nil 2857)) #47] :bullet "- " :checkbox nil :counter nil :pre-blank 0 :tag nil) (paragraph (:standard-properties [2743 2743 2743 2857 2857 0 nil nil nil nil nil nil nil nil # nil nil #51]) (link (:standard-properties [2743 nil nil nil 2816 0 nil nil nil nil nil nil nil nil #
\n
" :html-format-drawer-function #f(compiled-function (name contents) #%s:
\n\n%s\n
\nDate: %d
\n%c
\n%v
")) :html-preamble-format (("en" "")) :html-prefer-user-labels nil :html-self-link-headlines nil :html-table-align-individual-fields t :html-table-caption-above t :html-table-data-tags ("%s") (italic . "%s") (strike-through . "%s")) :html-todo-kwd-class-prefix "" :html-toplevel-hlevel 2 :html-use-infojs when-configured :html-validation-link "Validate" :html-viewport ((width "device-width") (initial-scale "1") (minimum-scale "") (maximum-scale "") (user-scalable "")) :html-inline-images t :html-table-attributes (:border "2" :cellspacing "0" :cellpadding "6" :rules "groups" :frame "hsides") :html-table-row-open-tag "