The Dockerfile generation part is kind of ugly
Closed this issue · 0 comments
chainsawriot commented
The index-based injection is kind of ugly (and risky). But the containerit
way of OOP it is kind of overkill.
In general, there are five parts in a Dockerfile
.
FROM
stuff (+ADD
)- Unchanged Chores of setting up timezone (e.g.
ENV TZ UTC
) COPY
statements whererang.R
always gets copied,cache
andcompile_r.sh
optionalRUN
statements (either 1) just run rang, 2) just run compile_r, or mkdir lib and then 1 or 2)CMD
(AllCMD ["R"]
exceptrstudio
)