openstack-operator/images/ceilometer/Dockerfile
Mohammed Naser 8ae58c60c4 Add ceilometer images
Change-Id: I0910f44b074b8ea903b2e44d6edcefd080f85021
2020-04-15 16:49:28 -04:00

29 lines
1.0 KiB
Docker

# Copyright (c) 2020 VEXXHOST, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM docker.io/opendevorg/python-builder as builder
RUN apt-get update && \
apt-get -y install git && \
git clone https://github.com/openstack/ceilometer /tmp/src
COPY bindep.txt /tmp/src/bindep.txt
RUN assemble
FROM docker.io/opendevorg/python-base AS ceilometer
COPY --from=builder /output/ /output
RUN /output/install-from-bindep
FROM ceilometer AS ceilometer-agent-notification
CMD ["/usr/local/bin/ceilometer-agent-notification"]