diff --git a/Dockerfile b/Dockerfile index 2078491..4e8f069 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ -FROM rocker/tidyverse:3.5.0 +FROM rocker/tidyverse:4.2.2 ADD . / RUN ./run.sh diff --git a/README.md b/README.md index ba8c6cd..f9001dd 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,13 @@ Just a little R project using ggplot2. +Most recently tested using Podman on an M2 Mac. + ``` docker rm extract -docker build -t pdurbin/notice . -docker create --name extract pdurbin/notice -docker cp extract:/results/figure.png /tmp -docker cp extract:/results/figure.svg /tmp +docker build --platform linux/x86_64 -t pdurbin/notice . +docker create --platform linux/x86_64 --name extract pdurbin/notice +mkdir /tmp/out +docker cp extract:/results/figure.png /tmp/out +#docker cp extract:/results/figure.svg /tmp ``` diff --git a/code/plot.R b/code/plot.R index 84ffe81..6edb0ba 100644 --- a/code/plot.R +++ b/code/plot.R @@ -35,4 +35,4 @@ ggplot(renewal, aes(x = Events)) + ) ggsave(path = "results", filename = "figure.png", width = 7, height = 3) -ggsave(path = "results", filename = "figure.svg", width = 7, height = 3) +#ggsave(path = "results", filename = "figure.svg", width = 7, height = 3)