This is a part of the multistage build syntax introduced in Docker 17.05 [1]. This is available through the centos-extras repo, and requires you to uninstall any other installations of docker.
I recommend using buildah instead [3]. [1] https://docs.docker.com/develop/develop-images/multistage-build [2] https://docs.docker.com/install/linux/docker-ce/centos/ [3] https://github.com/containers/buildah On Tue, Feb 26, 2019 at 3:16 PM Neale Ferguson <[email protected]> wrote: > Hi, > I am building openshift-console. What level of docker supports the "AS" > directive on the FROM statement? Is it part of CentOS 7.6.1810 yet? > > FROM quay.io/coreos/tectonic-console-builder:v16 AS build > > Neale > > > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openshift.redhat.com/openshiftmm/listinfo/dev > -- ADAM KAPLAN SENIOR SOFTWARE ENGINEER - OPENSHIFT Red Hat <https://www.redhat.com/> 100 E Davie St Raleigh, NC 27601 USA [email protected] T: +1-919-754-4843 IM: adambkaplan <https://red.ht/sig>
_______________________________________________ dev mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
