Package Exports
- @rxap/plugin-docker
- @rxap/plugin-docker/package.json
- @rxap/plugin-docker/plugin
Readme
@rxap/plugin-docker
Installation
Add the package to your workspace:
yarn add @rxap/plugin-dockerExecute the init generator:
yarn nx g @rxap/plugin-docker:initExecute 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-ciinit
Initialize the package in the workspace
yarn nx g @rxap/plugin-docker:initconfig
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-ciinit
Initialize the package in the workspace
yarn nx g @rxap/plugin-docker:initExecutors
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"
}
}
}