4 ### This file is deprecated and can be removed once the ci-managment repo has been
5 ### changed to use the docker files in the subdiretories
8 # -------------------------------------------------------------------------------
9 # Copyright (c) 2018-2019 AT&T Intellectual Property.
11 # Licensed under the Apache License, Version 2.0 (the "License");
12 # you may not use this file except in compliance with the License.
13 # You may obtain a copy of the License at
15 # http://www.apache.org/licenses/LICENSE-2.0
17 # Unless required by applicable law or agreed to in writing, software
18 # distributed under the License is distributed on an "AS IS" BASIS,
19 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 # See the License for the specific language governing permissions and
21 # limitations under the License.
22 # -------------------------------------------------------------------------------
24 # CI to verify the MC application components
25 # Inherits C toolchain from buildpack-deps:stretch then adds cmake and better shell(s).
27 # It is assumed that this docker file is used with a build command run at the
28 # root level of the repo (directory containing the ci directory). E.g.
29 # docker build -f ci/Dockerfile .
31 FROM buildpack-deps:stretch
33 RUN apt-get update && apt-get -q -y install cmake ksh
35 # stuff our repo things into a scratch area
40 # add any unit test scripts that need to be driven, e.g.
41 # RUN ksh test/mcl_unit_test.ksh
43 # This is a final/only script which might print useful things to the log and ALWAYS succeeds.
44 RUN ksh /playpen/ci/stats.ksh
46 # there is no cmd; the build/verification assumes that if the image is created
47 # successfully, e.g. none of the previous run commands fail, that the environment
48 # is successfully vetted.