Skip to content

Commit

Permalink
Docker: Install rwasm into the system library
Browse files Browse the repository at this point in the history
  • Loading branch information
georgestagg committed Jun 17, 2024
1 parent 7d947b3 commit afaf4dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ RUN curl -L https://rig.r-pkg.org/deb/rig.gpg -o /etc/apt/trusted.gpg.d/rig.gpg
ENV R_LIBS_USER=/opt/R/current/lib/R/site-library
# Don't install pak. Rig installs it into the user lib, but we want it in the system lib
RUN rig add 4.4.0 --without-pak
# Install pak into the system lib
# Install pak and rwasm into the system lib
RUN /opt/R/current/bin/R -q -e 'install.packages("pak", lib = .Library)'
RUN /opt/R/current/bin/R -q -e 'pak::pak("r-wasm/rwasm", lib = .Library)'

# Download webR and configure for LLVM flang
ARG WEBRCI_REPO="https://github.com/r-wasm/webr.git"
Expand Down

0 comments on commit afaf4dc

Please sign in to comment.