blob: 5e3da088a942d5c9e42fec9e554058dc942745ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
FROM ubuntu:16.04
MAINTAINER Ritu Sood <ritu.sood@intel.com>
ARG HTTP_PROXY=${HTTP_PROXY}
ARG HTTPS_PROXY=${HTTPS_PROXY}
ENV http_proxy $HTTP_PROXY
ENV https_proxy $HTTPS_PROXY
ENV repo_url "https://nexus.onap.org/content/repositories/staging/org/onap/demo/vnf"
ENV demo_artifacts_version "1.5.0"
RUN apt-get update && apt-get install -y -qq wget net-tools unzip
WORKDIR /opt
RUN wget "${repo_url}/vfw/vfw-scripts/${demo_artifacts_version}/vfw-scripts-${demo_artifacts_version}.zip" \
&& unzip "vfw-scripts-${demo_artifacts_version}.zip" \
&& chmod +x v_sink_init.sh
COPY wrapper_v_sink_init.sh .
RUN chmod +x wrapper_v_sink_init.sh
CMD ["./wrapper_v_sink_init.sh"]
|