mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Docker
		
	
	
	
	
	
| # 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.
 | |
| #
 | |
| #
 | |
| # build for cloudstack_home_dir not this folder
 | |
| FROM python:2
 | |
| 
 | |
| LABEL Vendor="Apache.org" License="ApacheV2" Version="4.20.2.0-SNAPSHOT" Author="Apache CloudStack <dev@cloudstack.apache.org>"
 | |
| 
 | |
| ENV WORK_DIR=/marvin
 | |
| 
 | |
| ENV PKG_URL=https://builds.cloudstack.org/job/build-master-marvin/lastSuccessfulBuild/artifact/tools/marvin/dist/Marvin-4.20.2.0-SNAPSHOT.tar.gz
 | |
| 
 | |
| RUN apt-get update && apt-get install -y vim
 | |
| RUN pip install --upgrade paramiko nose requests
 | |
| #RUN pip install --allow-external mysql-connector-python mysql-connector-python
 | |
| RUN pip install http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.0.4.zip#md5=3df394d89300db95163f17c843ef49df
 | |
| RUN pip install ${PKG_URL}
 | |
| 
 | |
| RUN mkdir -p ${WORK_DIR}
 | |
| COPY setup/dev ${WORK_DIR}/dev
 | |
| COPY tools/marvin/marvin ${WORK_DIR}/marvin
 | |
| COPY test/integration ${WORK_DIR}/integration
 | |
| 
 | |
| WORKDIR ${WORK_DIR}
 | |
| 
 | |
| CMD /bin/bash
 |