Merge pull request #1115 from minrk/set-user-root

set USER root after each directive block
pull/1122/head
Simon Li 2022-01-25 14:55:11 +00:00 zatwierdzone przez GitHub
commit 813d28bfdb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
5 zmienionych plików z 13 dodań i 0 usunięć

Wyświetl plik

@ -100,6 +100,8 @@ COPY --chown={{ user }}:{{ user }} {{ src }} {{ dst }}
{% for sd in build_script_directives -%}
{{ sd }}
{% endfor %}
# ensure root user after build scripts
USER root
# Allow target path repo is cloned to be configurable
ARG REPO_DIR=${HOME}
@ -138,6 +140,8 @@ COPY --chown={{ user }}:{{ user }} src/{{ src }} ${REPO_DIR}/{{ dst }}
{% for sd in preassemble_script_directives -%}
{{ sd }}
{% endfor %}
# ensure root user after preassemble scripts
USER root
# Copy stuff.
COPY --chown={{ user }}:{{ user }} src/ ${REPO_DIR}

Wyświetl plik

@ -0,0 +1 @@
libsodium-dev

Wyświetl plik

@ -0,0 +1 @@
install.packages("viridisLite")

Wyświetl plik

@ -0,0 +1 @@
r-4.1-2021-10-22

Wyświetl plik

@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
apt list
apt list | grep libsodium-dev
# make sure we got R
which R