Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Dockerfile from @d_qoi working to build container #9

Merged
merged 1 commit into from

2 participants

@zehicle

I was working with @d_qoi on the dockerfile to setup the tempest container.

This is the file that we got working. To use the file:
1.go into the t-container directory
1. type =docker build .=
1. type =docker run -i -t [the image id from build= /bin/bash

@dlenwell dlenwell merged commit c49cb82 into dlenwell:master
@zehicle zehicle deleted the zehicle:dockerfile branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 23, 2014
  1. Dockerfile from @d_qoi working to build container

    Rob Hirschfeld authored
This page is out of date. Refresh to see the latest.
Showing with 68 additions and 0 deletions.
  1. +68 −0 t-container/Dockerfile
View
68 t-container/Dockerfile
@@ -0,0 +1,68 @@
+# Docker Tempest in a Container (TCUP)
+#
+# Copyright (c) 2014 Alex Hirschfeld (d-qoi), no corporate affiliation
+# All Rights Reserved.
+#
+# 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 ubuntu
+RUN apt-get update
+
+# Downloading tools
+RUN apt-get install -y git python-pip wget unzip
+
+#Downloading dependencies
+RUN apt-get install -y libxml2-dev libxslt-dev lib32z1-dev python2.7-dev libssl-dev
+
+#other dependencies
+RUN apt-get install -y python-dev libxslt1-dev libsasl2-dev libsqlite3-dev libldap2-dev libffi-dev
+RUN pip install ftp://xmlsoft.org/libxml2/python/libxml2-python-2.6.9.tar.gz
+
+# Cloning tempest
+#RUN git clone https://github.com/openstack/tempest
+
+# Get tempest code
+RUN wget https://github.com/openstack/tempest/archive/stable/havana.zip
+RUN unzip havana.zip
+RUN mv /tempest-stable-havana /tempest
+
+#running setup
+#RUN python /tempest/setup.py install
+
+#making file to add exterior files
+#RUN mkdir temp
+
+#Tempest config creator
+#ADD https://github.com/dlenwell/refstack/blob/master/refstack/common/tempest_config.py /temp/
+#ADD http://9.30.139.135/openstack/tempest.conf /tempest/
+
+#MORE DEPENDENCIES (for tempest config builder)
+#ADD https://github.com/openstack/keystone/blob/master/requirements.txt /temp/
+#ADD https://github.com/openstack/keystone/blob/master/test-requirements.txt /temp/
+
+#using dependencies
+RUN pip install -r /tempest/requirements.txt
+RUN pip install -r /tempest/test-requirements.txt
+
+#Running tempest config creator
+#CMD 'cd /tempest && git checkout stable/havana && /tempest/run_tests.sh -C /tempest/tempest.conf -N -- tempest'
+#CMD 'cd /tempest && /tempest/run_tests.sh -C /tempest/tempest.conf -N -- tempest'
+
+#Publishing to refstack
+#ADD <url> /temp/
+
+#rest of file
+
+#eof
+
+# To start the image, docker run -i -t [image id] /bin/bash
Something went wrong with that request. Please try again.