<commit_before>rkt = "/usr/bin/rkt"
default-interactive-cmd = "sh"
strip-log-prefix = true

[environment]
# needed for per-application options --stdout, etc
# as per https://github.com/rkt/rkt/issues/3639
#RKT_EXPERIMENT_ATTACH = "true"

[options]
general = ["--insecure-options=image"]
run = ["--net=host", "--set-env=HOME=/home/{{.Username}}", "--set-env=http_proxy={{.http_proxy}}", "--set-env=https_proxy={{.https_proxy}}"]
# --stdout=stream ought to work, but doesn't
# see https://github.com/rkt/rkt/issues/3639
image = ["--user={{.Uid}}", "--group={{.Gid}}"] #, "--stdout=log"]

[auto-image-prefix]
"biocontainers/" = "docker://biocontainers/"

[volume.home]
volume = "kind=host,source={{.HomeDir}}"
mount = "target=/home/{{.Username}}"

[volume.dataset]
volume = "kind=host,source=/dataset"
mount = "target=/dataset"

[volume.bifo]
volume = "kind=host,source=/bifo"
mount = "target=/bifo"
<commit_msg>Example config to get Julia working.<commit_after>rkt = "/usr/bin/rkt"
default-interactive-cmd = "sh"
strip-log-prefix = true

[environment]
# needed for per-application options --stdout, etc
#RKT_EXPERIMENT_ATTACH = "true"

[options]
general = ["--insecure-options=image"]
run = ["--net=host", "--set-env=HOME=/home/{{.Username}}", "--set-env=http_proxy={{.http_proxy}}", "--set-env=https_proxy={{.https_proxy}}"]
image = [
      "--user={{.Uid}}",
      "--group={{.Gid}}",
      #, "--stdout=log",  # try --stdout=stream using attach - https://github.com/rkt/rkt/issues/3639
      "--seccomp", "mode=retain,@docker/default-whitelist,mbind",  # for Julia, see https://github.com/rkt/rkt/issues/3651
]

[auto-image-prefix]
"biocontainers/" = "docker://biocontainers/"

[volume.home]
volume = "kind=host,source={{.HomeDir}}"
mount = "target=/home/{{.Username}}"

[volume.dataset]
volume = "kind=host,source=/dataset"
mount = "target=/dataset"

[volume.bifo]
volume = "kind=host,source=/bifo"
mount = "target=/bifo"

{'fraction_non_alphanumeric': 0.2292099792099792, 'fraction_numerical': 0.008316008316008316, 'mean_word_length': 4.628654970760234, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4856826', 'n_tokens_mistral': 743, 'n_tokens_neox': 725, 'n_words': 117}