docker-storcli-prometheus/Dockerfile

24 lines
818 B
Docker
Raw Permalink Normal View History

2018-05-30 08:09:50 -06:00
# Copyright 2018 SpiderOak, 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.
2018-05-18 12:39:17 -06:00
FROM centos:7
RUN curl -sSL http://dl.marmotte.net/rpms/redhat/el6/x86_64/storcli-1.16.06-2/storcli-1.16.06-2.x86_64.rpm > /tmp/storcli.rpm \
&& rpm -ivh /tmp/storcli.rpm \
&& rm /tmp/storcli.rpm
2018-05-21 10:55:24 -06:00
COPY . /
2018-05-18 12:39:17 -06:00
ENTRYPOINT ["/entrypoint.sh"]