-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get basic devcontainer setup working (#2459)
* Fix typo (devcontainers->devcontainer) * basic git extension * add requirements to Dockerfile * multi-line string instead * exclude standard packages * fix typo in Rbuildignore too * patrick too * Use remotes to encapsulate installation * simplify * combine 2nd+3rd install calls * even simpler * drop remotes * syntax * one more, spacing for clarity * Try COPY from parent directory * copy to '.' * try symlinking * no longer need COPY * or maybe I do? * i suck at symlink * i hate docker so much * hard-code deps * revert * trying build.context instead * git :( * Back to remotes * semicolon needed * Comment about '|>' + '_' (#2495) * rm obsolete * don't include Depends (just a distraction) * formatting * revert --------- Co-authored-by: AshesITR <[email protected]>
- Loading branch information
1 parent
f76eb76
commit 2a240d8
Showing
5 changed files
with
19 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM rocker/r-base | ||
|
||
RUN apt-get -qq update && \ | ||
apt-get install -y --no-install-recommends git libxml2-dev | ||
|
||
COPY DESCRIPTION . | ||
|
||
RUN Rscript -e ' \ | ||
install.packages("remotes"); \ | ||
remotes::install_deps(dependencies = c( \ | ||
"Imports", \ | ||
"Config/needs/development" \ | ||
)) \ | ||
' |
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,3 @@ | ||
{ | ||
"build": { "dockerfile": "Dockerfile", "context": ".."} | ||
} |
This file was deleted.
Oops, something went wrong.
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