Ubuntu 13.10 with yeoman and a few select generators. Designed as a good "FROM" image for yeoman based dev, or for first steps/spike with yeoman.
1.4K
Dockerfile for base yeoman install, with a few generators pre-installed.
Install Docker.
docker run -i -t silarsis/yeoman
(alternatively, build from github: docker build -t="silarsis/yeoman" github.com/silarsis/yeoman)
docker run -i -t silarsis/yeoman
This will run the container and log you in as the "yeoman" user, ready to "yo".
docker run -i -t silarsis/yeoman -c grunt serve
This will run the grunt server inside the container.
"sudo" works - if you need root, sudo -s will get you there.
The default grunt port (9000) is exposed by default.
This Dockerfile should provide a good base image for development work - as an example, based on the Docker Node.js example, you could have a Dockerfile that looks like (untested, assumes your code is in the same directory as your Dockerfile):
FROM silarsis/yeoman
MAINTAINER Kevin Littlejohn "[email protected]"
ADD . /src
RUN cd /src; npm install
EXPOSE 9000
USER yeoman
CMD ["grunt", "serve"]
and run with docker build -t <username>/yeoman-dev .; docker run -P -d <username>/yeoman-dev
Content type
Image
Digest
sha256:b802cafac…
Size
220 MB
Last updated
about 11 years ago
docker pull silarsis/yeoman