Skip to content

Commit bbfca85

Browse files
committed
update build_pdf.sh script with new docker image
1 parent b73291a commit bbfca85

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 5g -v $(pwd):/home/rstudio/introduction-to-datascience ubcdsci/intro-to-ds:v0.23.0 /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 5g -v $(pwd):/home/rstudio/introduction-to-datascience ubcdsci/intro-to-ds:20230709020300d0b466.23.0 /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)