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
If a build stage name is reused in a Dockerfile, the Docker engine will create an error about this. We should publish a diagnostic for this same error.
FROM alpine AS setup
EXPOSE 8080
FROM alpine AS setup
EXPOSE 8081
$ docker build .
Sending build context to Docker daemon 86.15MB
Step 1/4 : FROM alpine AS setup
---> 7328f6f8b418
Step 2/4 : EXPOSE 8080
---> Running in ff3ae57dd33a
---> f2a118dba9f0
Removing intermediate container ff3ae57dd33a
Step 3/4 : FROM alpine AS setup
duplicate name setup
The text was updated successfully, but these errors were encountered:
If a build stage name is reused in a Dockerfile, the Docker engine will create an error about this. We should publish a diagnostic for this same error.
The text was updated successfully, but these errors were encountered: