HBASE-15708 Docker for dev-support scripts. (Apekshit)

Change-Id: Ifb49125e940a8bacdff54247df8f2a75c6069c54

Signed-off-by: stack <stack@apache.org>
This commit is contained in:
Apekshit 2016-04-25 17:03:56 -07:00 committed by stack
parent ce318a2906
commit e1bf3a66fc
2 changed files with 44 additions and 0 deletions

26
dev-support/Dockerfile Normal file
View File

@ -0,0 +1,26 @@
##
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
#
# This Dockerfile is to setup environment for dev-support scripts which require
# dependencies outside of what Apache Jenkins machines may have.
FROM ubuntu:14.04
ADD . /hbase/dev-support
RUN apt-get -y update \
&& apt-get -y install curl python-pip \
&& pip install -r /hbase/dev-support/python-requirements.txt

View File

@ -0,0 +1,18 @@
##
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
#
requests