New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

dockerfile-build-tools

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dockerfile-build-tools

Easy way to build, version and push your local dockerfile to docker hub

latest
Source
npmnpm
Version
0.1.17
Version published
Maintainers
1
Created
Source

dockerfile-build-tools

Easy way to build, version and push your local dockerfile to docker hub

Installation

  • run yarn add dockerfile-build-tools
  • Either:
    • Set up your package json with the docker-image-name of your docker target image
        {
          "docker-image-name": "aariacarterweir/docker-node-yarn"
        }
      
    • create a .dockerfile-build.env and set the following values
        IMAGE_NAME=yourdocker/imagename
        # optional setting of latest tag, defaults to "latest"
        LATEST_TAG=latest
      
  • run yarn dockerfile-build-tools to build your Dockerfile and tag it as latest
  • run yarn dockerfile-build-tools -v 0.2.1 to manually set a specific version
  • run yarn dockerfile-build-tools -p to push your versioned docker image to docker-hub (it will ask you for a new version)
  • run yarn dockerfile-build-tools -v 0.2.2 -p to combine a manual version override and also push your image to docker-hub
  • run yarn dockerfile-build-tools --working-dir="/Users/me/my-project" to set a different working directory than cwd.

FAQs

Package last updated on 03 Feb 2021

Did you know?

Socket

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.

Install

Related posts