3 RUN apt-get update && apt-get -y install python3 curl build-essential apt-transport-https sudo software-properties-common
4 RUN curl http://repos.riftio.com/public/xenial-riftware-public-key | apt-key add -
5 RUN curl -o /etc/apt/sources.list.d/rift.list http://buildtracker.riftio.com/repo_file/ub16/OSM3/
7 ARG RW_PLATFORM_RELEASE=5.2.0.3.73627
8 RUN apt-get update && \
10 rw.tools-container-tools=${RW_PLATFORM_RELEASE} \
11 rw.tools-scripts=${RW_PLATFORM_RELEASE}
13 RUN /usr/rift/container_tools/mkcontainer --modes MANO-base,rw-platform,UI-base --repo OSM3 --rw-version ${RW_PLATFORM_RELEASE}
14 #/usr/rift/container_tools/mkcontainer --modes UI-base --rw-version ${PLATFORM_VERSION}
16 # now disable the RIFT OSM repo so that we'll get MANO from
18 RUN rm -f /etc/apt/sources.list.d/rift.list && apt-get update
20 ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian
21 ARG RELEASE=ReleaseTHREE-rc16
22 ARG REPOSITORY_KEY=OSM%20ETSI%20Release%20Key.gpg
23 ARG REPOSITORY=testing
25 RUN curl ${REPOSITORY_BASE}/${RELEASE}/${REPOSITORY_KEY} | apt-key add -
26 RUN add-apt-repository -y "deb ${REPOSITORY_BASE}/${RELEASE} ${REPOSITORY} SO UI RO IM osmclient openvim" && apt update
28 RUN apt-get install -y \
30 rw.core.mano-rwcal-plugin-aws \
31 rw.core.mano-rwcal-plugin-cloudsim \
32 rw.core.mano-rwcal-plugin-cloudsimproxy \
33 rw.core.mano-rwcal-plugin-openmano-vimconnector \
34 rw.core.mano-rwcal-plugin-openstack \
35 rw.core.mano-rwcal-plugin-mock
37 RUN apt-get install -y python3-pip python3-setuptools
40 RUN apt-get install -y rw.ui-skyquake
41 RUN apt-get install -y tcpdump telnet
43 RUN chmod 777 /usr/rift /usr/rift/usr/share
45 EXPOSE 22 80 2024 4567 8000 8008 8443
47 RUN apt-get -y install openssh-client
49 RUN mkdir -p /var/log/rift
50 CMD /usr/rift/bin/start_launchpad