Skip to content
Merged
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
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "R-Dev-Env",
"image": "ghcr.io/r-devel/r-dev-env:devel",
"remoteUser": "vscode",
"hostRequirements": {
"cpus": 4
},
Expand Down Expand Up @@ -47,5 +48,5 @@
]
}
},
"postCreateCommand": "find . -wholename '*.git*' -type d -prune -o -type f -exec chown vscode:vscode {} \\; && sh /workspaces/r-dev-env/scripts/localscript.sh"
"postCreateCommand": "sh /workspaces/r-dev-env/scripts/localscript.sh"
}
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ RUN Rscript -e "runiverse <- sprintf('r-universe.dev/bin/linux/%s-%s/%s/', \
# Define env var used in GitHub Actions that build and deploy container
ARG CONTAINER_VERSION
ENV CONTAINER_VERSION=${CONTAINER_VERSION}

USER vscode