From b34030013f9af4c40fd79850a85957c842e76595 Mon Sep 17 00:00:00 2001 From: zhihui wu Date: Sun, 8 Apr 2018 12:48:47 +0800 Subject: delete the code which will not included in Fraser - legacy code - the function of network test isn't completed. - outdated documents Change-Id: Id59d35f6985d876ef09aef0845dde38ae19b589a Signed-off-by: zhihui wu --- contrib/nettest/Dockerfile | 47 ---------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 contrib/nettest/Dockerfile (limited to 'contrib/nettest/Dockerfile') diff --git a/contrib/nettest/Dockerfile b/contrib/nettest/Dockerfile deleted file mode 100644 index 272569d6..00000000 --- a/contrib/nettest/Dockerfile +++ /dev/null @@ -1,47 +0,0 @@ -########################################################## -# Dockerfile to run a flask-based web application# Based on an ubuntu:16.04 -########################################################## - -# Set the base image to use to centos -FROM ubuntu:16.04 - -# Set the file maintainer -MAINTAINER Qiang.Dai@spirent.com -LABEL version="0.1" description="Spirent networking test Docker container" - -# Set env varibles used in this Dockerfile (add a unique prefix, such as DOCKYARD) -# Local directory with project source -ENV DOCKYARD_SRC=nettest \ - DOCKYARD_SRCHOME=/opt \ - DOCKYARD_SRCPROJ=/opt/nettest - -# Update the defualt application repository source list -RUN apt-get update && apt-get install -y \ - gcc \ - python-dev \ - python-pip \ - python-setuptools \ - --no-install-recommends \ - && rm -rf /var/lib/apt/lists/* - -# Copy application source code to SRCDIR -COPY $DOCKYARD_SRC $DOCKYARD_SRCPROJ - -# Create application subdirectories -WORKDIR $DOCKYARD_SRCPROJ -RUN mkdir -p log -VOLUME ["$DOCKYARD_SRCPROJ/log/"] - -# Install Python dependencies -RUN pip install -U pip \ - && pip install -U setuptools \ - && pip install -r $DOCKYARD_SRCPROJ/requirements.txt - -# Port to expose -EXPOSE 5000 - -# Copy entrypoint script into the image -WORKDIR $DOCKYARD_SRCPROJ - -#CMD ["/bin/bash"] -CMD ["/bin/bash", "start.sh"] -- cgit 1.2.3-korg