Use docker to create, build and deploy condensation particles
306
Use docker to create, build and deploy condensation particles
This image is for development and should not be run as root. A bind mount is created to the host in the current directory. To do this gosu is used to match the UID and GID from the host to the running process in the container.
On Mac this is the default state. On linux add a non-root user to the docker group for development.
The following creates an alias for running a container that will:
/particles in the
containeralias condensation="docker run -e GOSU_USER=\`id -u\`:\`id -g\` -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_SESSION_TOKEN -e AWS_DEFAULT_REGION -e AWS_DEFAULT_PROFILE -v \"$HOME\"/.aws/credentials:/home/condensation/.aws/credentials -v \`pwd\`:/particles --rm -it sungardas/condensation"
condensation create project particles-MYPROJECT
cd particles-MYPROJECT
condensation run build
A wrapper for generator-condensation.
Appends arguments to yo condensation: within the container
# Specific version of condensation
# such as a release candidate
> condensation create project particles-MYPROJECT --condensation-version rc
# Or a specific version
> condensation create project particles-MYPROJECT --condensation-version 0.5.9
# Or any semver compatible string
> condensation create project particles-MYPROJECT --condensation-version ^0.6.0
Appends arguments to npm run within the container.
$ condensation run test
$ condensation run build
$ condensation run deploy
A wrapper for condensation gulp tasks.
Appends arguments to /particles/node_modules/.bin/gulp within the
container.
List all condensation tasks for the project
A wrapper for npm install used to install particle
dependencies.
Appends arguments to npm install --save within the
container.
condensation install particles-vpc
Apache-2.0 ©
This project is maintained by the Labs team at Sungard Availability Services
GitHub: https://sungardas.github.io
Content type
Image
Digest
Size
116.7 MB
Last updated
about 9 years ago
docker pull sungardas/condensation