Skip to content

Commit 60ca19d

Browse files
committed
update build_pdf.sh script with new docker image
1 parent 2b8d0b0 commit 60ca19d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_pdf.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sed -n -i "/# Welcome/q;p" index.Rmd
1212
sed -i "/graphic\.jpg/d" index.Rmd
1313

1414
## Build the book with bookdown
15-
docker run --rm -m 8g -v $(pwd):/home/rstudio/introduction-to-datascience ubcdsci/intro-to-ds:20230713003917cedcac /bin/bash -c "cd /home/rstudio/introduction-to-datascience; Rscript -e 'bookdown::render_book(\"index.Rmd\", \"bookdown::pdf_book\"); warnings(); problems()'"
15+
docker run --rm -m 8g -v $(pwd):/home/rstudio/introduction-to-datascience ubcdsci/intro-to-ds:202307130106229dd1c2 /bin/bash -c "cd /home/rstudio/introduction-to-datascience; Rscript -e 'bookdown::render_book(\"index.Rmd\", \"bookdown::pdf_book\"); warnings(); problems()'"
1616

1717
# restore the backed up full index.Rmd
1818
mv index_backup.Rmd index.Rmd

0 commit comments

Comments
 (0)