Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
This repository was archived by the owner on May 5, 2023. It is now read-only.

Pass extra arguments to push/build #48

@graingert

Description

@graingert

it would be great to have something like:

shipwright build -- --pull which runs docker build {container} --pull

and in the JSON:

{
  "version": "1.0.1",

  "namespace": "shipwright",
  "names": {
    "/": "shipwright/shared",
    "/foo": "shipwright/awesome_sauce"
  },
  "buildArgs": {
     "pull": true,
     "ulimit": ["ulimit", "extra ulimit"],
     "cpusetCpus": 2,
  }
}

which runs:

docker build {container} --pull --ulimit=ulimit --ulimit="extra ulimit" --cpuset-cpus 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions