Skip to content

build docker image that stores on host machines docker image store

Notifications You must be signed in to change notification settings

opspec-pkgs/docker.build.localimage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build

Problem statement

Build a docker image in your host machines docker image store. Once a successful run of this op completes, you should see your new container created on the host machine when you run docker images.

Example usage:

  op:
    ref: github.com/opspec-pkgs/docker.build.localimage#1.2.0
    inputs:
      imageName: my-image
      dockerfile: $(/Dockerfile)
      dockerfileStage: my-stage-name
      dockerSocket:
      dockerConfig:
        auths:
          "https://index.docker.io/v1/":
            auth: dXNlcm5hbWU6cGFzc3dvcmQK
  op:
    ref: github.com/opspec-pkgs/docker.build.localimage#1.2.0
    inputs:
      imageName: my-image
      dockerfile: $(/Dockerfile)
      dockerfileStage: my-stage-name
      dockerSocket:
      dockerConfig: $(HOME/.docker/config.json)

Example usage

Visualize

opctl ui github.com/opspec-pkgs/docker.build.localimage#1.2.0

Run

opctl run github.com/opspec-pkgs/docker.build.localimage#1.2.0

Compose

op:
  ref: github.com/opspec-pkgs/docker.build.localimage#1.2.0
  inputs:
    dockerSocket:  # 👈 required; provide a value
    imageName:  # 👈 required; provide a value
  ## uncomment to override defaults
  #   dockerConfig: [object Object]
  #   dockerfile: .
  #   dockerfileStage: ''

Support

join us on Slack or open an issue

Releases

releases are versioned according to semver 2.0.0 and tagged; see CHANGELOG.md for release notes

Contributing

see project/CONTRIBUTING.md

About

build docker image that stores on host machines docker image store

Resources

Stars

Watchers

Forks

Packages

No packages published