Package Exports
- @rxap/plugin-docker
- @rxap/plugin-docker/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rxap/plugin-docker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@rxap/plugin-docker
Installation
Add the package to your workspace:
yarn add @rxap/plugin-dockerInstall peer dependencies:
yarn add @nx/devkit@^16.5.0 @rxap/generator-utilities@^1.1.0-dev.4 @rxap/node-utilities@^1.1.0-dev.1 @rxap/plugin-utilities@^16.1.0-dev.6 @rxap/utilities@^16.0.0-dev.9 Execute the config generator to use the package with a project:
yarn nx g @rxap/plugin-docker:config [project]Generators
config
Add the executor 'docker' to the selected project and add generic depend on rules to nx.json
yarn nx g @rxap/plugin-docker:configgitlab-ci
gitlab-ci generator
yarn nx g @rxap/plugin-docker:gitlab-ciconfig
Add the executor 'docker' to the selected project and add generic depend on rules to nx.json
yarn nx g @rxap/plugin-docker:configgitlab-ci
gitlab-ci generator
yarn nx g @rxap/plugin-docker:gitlab-ciExecutors
build
Executes the docker build command with the context set to the build output folder
project.json
{
"targets": {
"build": {
"executor": "@rxap/plugin-docker:build"
}
}
}save
Executes the docker save command for the latest image created with the build command
project.json
{
"targets": {
"save": {
"executor": "@rxap/plugin-docker:save"
}
}
}