1 ################################################################################
2 # Copyright (c) 2019 AT&T Intellectual Property. #
4 # Licensed under the Apache License, Version 2.0 (the "License"); #
5 # you may not use this file except in compliance with the License. #
6 # You may obtain a copy of the License at #
8 # http://www.apache.org/licenses/LICENSE-2.0 #
10 # Unless required by applicable law or agreed to in writing, software #
11 # distributed under the License is distributed on an "AS IS" BASIS, #
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
13 # See the License for the specific language governing permissions and #
14 # limitations under the License. #
15 ################################################################################
17 FROM buildpack-deps:stretch
18 RUN apt-get update && apt-get -q -y install debhelper dpkg-dev build-essential rsync
23 # building RIC deployment artifacts into a package
24 RUN ./bin/package-ric-deployment-tools $(grep tag ./ci/package-tag.yaml | cut -f2 -d':')
26 # Executing the container "as a binary" will cause the CI publish
27 # script to execute. This will take the simple package list generated
28 # by the ci_build script and copy the list of packages to the target
29 # directory. The target directory is /export by default, but can be
30 # overridden from the docker run command line. In either case, the
31 # assumption is that the target directory is mounted as a volume.
33 ENTRYPOINT [ "ci/publish.sh" ]