https://github.com/hadley/docker
My personal dockerfiles
https://github.com/hadley/docker
Last synced: 6 months ago
JSON representation
My personal dockerfiles
- Host: GitHub
- URL: https://github.com/hadley/docker
- Owner: hadley
- Created: 2015-10-29T15:28:56.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-29T22:21:06.000Z (about 10 years ago)
- Last Synced: 2025-07-14T23:37:59.225Z (6 months ago)
- Size: 92.8 KB
- Stars: 17
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker containers
> This is my docker container. There are many like it, but this one is mine.
>
> My container is my best friend. It is my life. I must master it as I must
> master my life.
These docker containers are adaptations of the [rocker](https://github.com/rocker-org) containers, customised for my development workflow.
## To build
```sh
# If on mac:
docker-machine start default
eval "$(docker-machine env default)"
docker pull r-base # ensure we have latest base image
docker build -t hadley/rdevel .
```
## To use
```sh
cd /package/dir
docker run -ti --rm \
-v $(pwd):/mnt \
hadley/rdevel /bin/bash
cd /mnt
R
install_deps(dep = T)
```