
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@sosy/nx-docker-build-plugin
Advanced tools
This plugin is for generating Docker images for NX apps.
Add a new target with the builder @sosy/nx-docker-build-plugin:build
to the applications in your workspace.json
.
For the build the plugin will automatically provide following build args:
options.outputPath
defined.option | type | default | description |
---|---|---|---|
dockerContext | string | "." | The directory for the context of the docker build. |
dockerFile | string | "Dockerfile" | The dockerfile which should be used. |
imageName | string | "" | The name used for the docker image name. If empty, the projectName will be used. |
imageSeparator | string | "/" | The separator which is used for creating the docker image name |
imagePrefix | string | "" | The prefix for the docker image name. |
tag | string | latest | The tag used for the docker image. |
push | boolean | false | If true, the created docker image will be pushed. |
buildArgs | string[] | [] | Docker build arguments which will be used in the docker build. This arguments should be provided in the workspace.json . |
envBuildArgs | string[] | [] | Docker build arguments which will be used in the docker build. This arguments should be provided with the command execution. This can be useful for providing extra arguments in the CI. |
The docker image which will be for the created, will be named
${imagePrefix}${separator}${imageName}:${imageTag}
if imagePrefix is not empty${imageName}:${imageTag}
if imagePrefix is emptyFollowing configuration could be added to the workspace.json
as projects.app-example.architect.docker-build
"docker-build": {
"builder": "@sosy/nx-docker-build-plugin:build",
"options": {
"dockerFile": "tools/docker/nest.Dockerfile",
"buildArgs": [
"PROJECT_NAME=account-service",
"PROJECT_DIST=backend/account-service"
],
"name": "backend-account-service"
}
},
FAQs
This plugin is for generating Docker images for NX apps.
The npm package @sosy/nx-docker-build-plugin receives a total of 6 weekly downloads. As such, @sosy/nx-docker-build-plugin popularity was classified as not popular.
We found that @sosy/nx-docker-build-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.