-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1de20fb
commit 3c5ff14
Showing
3 changed files
with
43 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
FROM 579831337053.dkr.ecr.us-west-2.amazonaws.com/irx-r-base:latest | ||
FROM rocker/r-ver:latest | ||
|
||
ENV _R_CHECK_TESTS_NLINES_=0 | ||
|
||
RUN rm -rf /src/PKPDsim | ||
COPY ./ /src/PKPDsim | ||
WORKDIR /src/PKPDsim | ||
|
||
# Install system and CRAN dependencies | ||
RUN apt-get update | ||
RUN apt install -y pandoc qpdf | ||
RUN Rscript -e "install.packages(c('mockery', 'nlmixr2', 'knitr', 'rmarkdown'), repos = '${RSPM_SNAPSHOT}')" | ||
COPY ./ /src/PKPDsim | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
pandoc \ | ||
qpdf \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN Rscript -e "install.packages(c('mockery', 'nlmixr2', 'knitr', 'rmarkdown'), repos = 'https://cloud.r-project.org')" | ||
|
||
RUN R CMD check PKPDsim |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM 579831337053.dkr.ecr.us-west-2.amazonaws.com/irx-r-base:latest | ||
|
||
ENV _R_CHECK_TESTS_NLINES_=0 | ||
|
||
RUN rm -rf /src/PKPDsim | ||
COPY ./ /src/PKPDsim | ||
WORKDIR /src/PKPDsim | ||
|
||
# Install system and CRAN dependencies | ||
RUN apt-get update | ||
RUN apt install -y pandoc qpdf | ||
RUN Rscript -e "install.packages(c('mockery', 'nlmixr2', 'knitr', 'rmarkdown'), repos = '${RSPM_SNAPSHOT}')" |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
version: '3' | ||
services: | ||
pkpdsim: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
image: pkpdsim:latest | ||
|
||
pkpdsim-aws: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile.aws | ||
image: pkpdsim:aws | ||
|
||
# docker-compose build | ||
# docker-compose build pkpdsim | ||
# docker-compose build pkpdsim-aws | ||
# docker-compose run pkpdsim | ||
# docker-compose run pkpdsim-aws |