-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Generator): don't install Stencila language packages by default
Currently, the Stencila R package is very slow to install so this turns that off by default until that is sped up. Partially addresses #40 (still need to add argument on CLI)
- Loading branch information
Showing
6 changed files
with
12 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,18 +28,6 @@ RUN apt-get update \ | |
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN npm install [email protected] \ | ||
&& pip3 install --no-cache-dir https://github.com/stencila/py/archive/91a05a139ac120a89fc001d9d267989f062ad374.zip \ | ||
&& apt-get update \ | ||
&& apt-get install -y zlib1g-dev libxml2-dev pkg-config \ | ||
&& apt-get autoremove -y \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& Rscript -e 'install.packages("devtools")' \ | ||
&& Rscript -e 'source("https://bioconductor.org/biocLite.R"); biocLite("graph")' \ | ||
&& Rscript -e 'devtools::install_github("r-lib/pkgbuild")' \ | ||
&& Rscript -e 'devtools::install_github("stencila/r")' | ||
|
||
RUN useradd --create-home --uid 1001 -s /bin/bash dockteruser | ||
USER dockteruser | ||
WORKDIR /home/dockteruser | ||
|