Skip to content

Commit

Permalink
build: use uppercase FROM / AS combination in Dockerfile (#1140)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 authored Jul 3, 2024
1 parent 6265491 commit 5322a16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions factory/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
ARG FACTORY_VERSION

# Multi-stage default image. Used to test and create the pre-built docker images.
FROM cypress/factory:${FACTORY_VERSION} as default_image
FROM cypress/factory:${FACTORY_VERSION} AS default_image

# Multi-stage included image. We set the entry point only for the included image.
FROM cypress/factory:${FACTORY_VERSION} as included_image
FROM cypress/factory:${FACTORY_VERSION} AS included_image

ENTRYPOINT ["cypress", "run"]
2 changes: 1 addition & 1 deletion factory/factory.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Set base image arg to allow easy testing of other debian versions.
ARG BASE_IMAGE

FROM ${BASE_IMAGE} as factory
FROM ${BASE_IMAGE} AS factory

# "fake" dbus address to prevent errors
# https://github.com/SeleniumHQ/docker-selenium/issues/87
Expand Down

0 comments on commit 5322a16

Please sign in to comment.