Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Fix docker build and run stages #3

Merged
merged 3 commits into from Jan 2, 2020

Conversation

JonZeolla
Copy link
Member

Contributor Comments

Using RUN is required to exit non-zero during both a docker build
command with --target stage not defined, and with a docker run that
uses an already-built image (See Makefile and Dockerfile)

Also, move to a cleaner approach to sharing information from arguments
across a multi-stage docker build, based on
moby/moby#37345 (comment)

Pull Request Checklist

Thank you for submitting a contribution to easy_sast!

In order to streamline the review of your contribution we ask that you review and comply with the below requirements:

  • Ensure that make build completes successfully
  • Keep our reports up-to-date by commiting the output of make report
  • Rebase your branch against the latest commit of the target branch, which likely should be master
  • If there is an issue associated with your Pull Request, align your PR title with this documentation

Using RUN is required to exit non-zero during both a `docker build`
command with `--target` stage not defined, and with a `docker run`
that uses an already-built image (See `Makefile` and `Dockerfile`)
Using RUN is required to exit non-zero during both a `docker build`
command with `--target` stage not defined, and with a `docker run` that
uses an already-built image (See `Makefile` and `Dockerfile`)

Also, move to a cleaner approach to sharing information from arguments
across a multi-stage docker build, based on
moby/moby#37345 (comment)
Update the reports/ folder via `make report`
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@JonZeolla JonZeolla merged commit caa1eec into master Jan 2, 2020
JonZeolla added a commit that referenced this pull request Jan 2, 2020
* fix(docker): Ensure docker run and build exit on stage failures

Using RUN is required to exit non-zero during both a `docker build`
command with `--target` stage not defined, and with a `docker run` that
uses an already-built image (See `Makefile` and `Dockerfile`)

Also, move to a cleaner approach to sharing information from arguments
across a multi-stage docker build, based on
moby/moby#37345 (comment)
JonZeolla added a commit that referenced this pull request Jan 2, 2020
Using RUN is required to exit non-zero during both a `docker build`
command with `--target` stage not defined, and with a `docker run` that
uses an already-built image (See `Makefile` and `Dockerfile`)

Also, move to a cleaner approach to sharing information from arguments
across a multi-stage docker build, based on
moby/moby#37345 (comment)
@JonZeolla JonZeolla deleted the fix-docker-build-and-run-stages branch January 2, 2020 19:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant