Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 9 additions & 13 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
FROM rocker/tidyverse:4.4.1
FROM ghcr.io/rocker-org/devcontainer/r-ver:4.5

RUN apt-get update && apt-get install -y --no-install-recommends \
pandoc \
pandoc-citeproc \
curl \
gdebi-core \
&& rm -rf /var/lib/apt/lists/*
# Architecture-specific variable (built in Docker BuildKit)
ARG TARGETARCH

RUN install2.r -n4 \
# Install quarto-cli and the orange-book extension
RUN wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.9.35/quarto-1.9.35-linux-${TARGETARCH}.deb && \
dpkg -i quarto-1.9.35-linux-${TARGETARCH}.deb && \
rm quarto-1.9.35-linux-${TARGETARCH}.deb

RUN install2.r -n4 --error \
renv \
pander \
igraph \
Expand All @@ -27,12 +28,7 @@ Rscript --vanilla -e 'reticulate::py_install("datatable")'
RUN \
Rscript --vanilla -e 'reticulate::py_install("pandas")'

RUN curl -LO https://quarto.org/download/latest/quarto-linux-amd64.deb
RUN gdebi --non-interactive quarto-linux-amd64.deb
RUN apt-get install --no-install-recommends -y git

RUN apt-get update && apt-get install -y --no-install-recommends gdb

RUN install2.r languageserver

CMD ["bash"]
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ libs
*.docx
*.xlsx
_site

/.quarto/
_book/
Loading
Loading