You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to build (using BuildConfig) with a Dockerfile with multi stage referencing to a previous stage? I tried building a multi staged Dockerfile on my local machine and it works. The same file fails on openshift, because openshift tries to download the images as an external image, even though some of the image are intermediate image from previous stage
create a valid multi staged Dockerfile with reference to previous stage, example:
FROM alpine:latest as stage0
RUN echo 'do something'
FROM alpine:latest as stage1
RUN echo 'do something else'
FROM stage0
RUN echo 'do something else again'
build
Current Result
Pulling image stage0 ...
error: build error: failed to pull image: Get https://....: unauthorized: authentication required
error: the build ... status is "Failed"
Expected Result
should build successfully, like running: docker build .
The text was updated successfully, but these errors were encountered:
Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
How to build (using BuildConfig) with a Dockerfile with multi stage referencing to a previous stage? I tried building a multi staged Dockerfile on my local machine and it works. The same file fails on openshift, because openshift tries to download the images as an external image, even though some of the image are intermediate image from previous stage
Version
Steps To Reproduce
Current Result
Expected Result
should build successfully, like running:
docker build .
The text was updated successfully, but these errors were encountered: