I am creating a Docker image that needs to contain both:
- Ex: Company Foo's image of Jenkins support functions:
docker.foo.com/jenkins-build:latest - cypress/included:4.12.1
This image will be labeled docker.foo.com/cypress-build
Dockerfile for this image is scripted as follows:
# Image containing company Foo's Jenkins build
FROM docker.foo.com/jenkins-build:latest
# Main image that include all operating system dependencies necessary to run Cypress,
# but NOT the test runner itself.
FROM cypress/included:4.12.1
Is this Dockerfile valid in scripting with multiple FROM?
If not, then what must be done to correct it?
Thank you, much appreciate any feedback!