| Mike Marchetti | b842085 | 2018-09-13 13:45:06 -0400 | [diff] [blame] | 1 | FROM ubuntu:16.04 |
| 2 | |
| 3 | LABEL authors="Michael Marchetti" |
| 4 | |
| 5 | RUN apt-get update && apt-get -y install curl software-properties-common |
| 6 | |
| Mike Marchetti | 13d76c8 | 2018-09-19 15:00:36 -0400 | [diff] [blame] | 7 | RUN apt-get update && apt-get -y install python \ |
| Mike Marchetti | e31371a | 2018-09-21 16:56:54 -0400 | [diff] [blame] | 8 | libcurl4-gnutls-dev libgnutls-dev iputils-ping python-pip \ |
| 9 | python-openstackclient wget |
| madavi | c67a237 | 2019-07-01 13:07:42 +0530 | [diff] [blame] | 10 | RUN pip install python-magic pytest==4.6.3 |
| Mike Marchetti | 13d76c8 | 2018-09-19 15:00:36 -0400 | [diff] [blame] | 11 | |
| Mike Marchetti | b842085 | 2018-09-13 13:45:06 -0400 | [diff] [blame] | 12 | ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian |
| 13 | ARG RELEASE=ReleaseFOUR-daily |
| 14 | ARG REPOSITORY_KEY=OSM%20ETSI%20Release%20Key.gpg |
| 15 | ARG REPOSITORY=testing |
| 16 | |
| 17 | RUN curl ${REPOSITORY_BASE}/${RELEASE}/${REPOSITORY_KEY} | apt-key add - |
| 18 | RUN add-apt-repository -y "deb ${REPOSITORY_BASE}/${RELEASE} ${REPOSITORY} devops osmclient" && apt update |
| 19 | |
| Mike Marchetti | 13d76c8 | 2018-09-19 15:00:36 -0400 | [diff] [blame] | 20 | ARG OSMCLIENT_VERSION |
| 21 | ARG DEVOPS_VERSION |
| 22 | |
| 23 | RUN apt-get update && apt-get -y install osm-devops${DEVOPS_VERSION} python-osmclient${OSMCLIENT_VERSION} |
| Mike Marchetti | b842085 | 2018-09-13 13:45:06 -0400 | [diff] [blame] | 24 | |
| 25 | ENV OSM_SOL005=True |
| 26 | ENV OSM_HOSTNAME=nbi:9999 |
| 27 | ENV OSM_RO_HOSTNAME=ro:9090 |