From e0e778bee75754945fca778c3dc4b04ec8cf8d77 Mon Sep 17 00:00:00 2001 From: Apekshit Date: Mon, 25 Apr 2016 17:03:56 -0700 Subject: [PATCH] HBASE-15708 Docker for dev-support scripts. (Apekshit) Change-Id: Ifb49125e940a8bacdff54247df8f2a75c6069c54 --- dev-support/Dockerfile | 26 ++++++++++++++++++++++++++ dev-support/python-requirements.txt | 18 ++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 dev-support/Dockerfile create mode 100644 dev-support/python-requirements.txt diff --git a/dev-support/Dockerfile b/dev-support/Dockerfile new file mode 100644 index 0000000..8d3a758 --- /dev/null +++ b/dev-support/Dockerfile @@ -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 diff --git a/dev-support/python-requirements.txt b/dev-support/python-requirements.txt new file mode 100644 index 0000000..df79669 --- /dev/null +++ b/dev-support/python-requirements.txt @@ -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 -- 2.3.2 (Apple Git-55)