3 ARG HTTP_PROXY=${HTTP_PROXY}
4 ARG HTTPS_PROXY=${HTTPS_PROXY}
6 ENV http_proxy $HTTP_PROXY
7 ENV https_proxy $HTTPS_PROXY
9 RUN apt-get update && apt-get install -y software-properties-common
10 RUN apt-get install -y wget && \
11 apt-get install -y unzip && \
12 apt-get install -y curl && \
13 apt-get install -y build-essential && \
14 apt-get install -y libssl-dev
15 RUN sudo -E add-apt-repository ppa:openjdk-r/ppa && apt-get update && apt-get install -y openjdk-8-jdk && apt-get install -y git curl && apt-get install -y pandoc
20 # get binary zip from nexus
21 RUN wget -q -O vfc-sfcdriver-zte.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.nfvo.driver.sfc.zte.sfc-driver-standalone&a=vfc-nfvo-driver-sfc-zte-sfc-driver&v=LATEST&e=zip' && \
22 unzip vfc-sfcdriver-zte.zip && \
23 rm -rf vfc-sfcdriver-zte.zip
28 RUN chmod +x docker/*.sh
29 ENTRYPOINT docker/docker-entrypoint.sh