Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1598013 - [Trello_wpQi7K7r] s2i build with "--as-dockerfile=Dockerfile" should give path error info
[Trello_wpQi7K7r] s2i build with "--as-dockerfile=Dockerfile" should give pat...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Build (Show other bugs)
3.11.0
Unspecified Unspecified
low Severity medium
: ---
: 3.11.0
Assigned To: Ben Parees
Wenjing Zheng
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-07-04 03:01 EDT by wewang
Modified: 2018-10-11 03:21 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-10-11 03:21:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2652 None None None 2018-10-11 03:21 EDT

  None (edit)
Description wewang 2018-07-04 03:01:26 EDT
Description of problem:
When implement s2i build with "--as-dockerfile=Dockerfile" not  "--as-dockerfile=./Dockerfile", command success and generated dockerfile, but did not create upload dir.

Version-Release number of selected component (if applicable):
s2i v1.1.11-14-g05cadb9

How reproducible:
always 

Steps to Reproduce:
1.Build a binary
2. Produce an docker file from s2i build
    $s2i build //github.com/openshift/nodejs-ex  openshift/nodejs-010-centos7
 --as-dockerfile=Dockerfile
3.According dockerfile content, if build success, should also had upload directory
 # Copying in source code
  COPY --chown=1001:0 upload/src /tmp/src

Actual results:
build success

Expected results:
should build failed and give error info 
Additional info:
Comment 1 Ben Parees 2018-07-05 13:08:01 EDT
PR: https://github.com/openshift/source-to-image/pull/901
Comment 2 wewang 2018-07-06 01:50:05 EDT
verified in s2i version
v1.1.11-16-ga02a8c3
Comment 4 errata-xmlrpc 2018-10-11 03:21:36 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:2652

Note You need to log in before you can comment on or make changes to this bug.