blob: c7fdce4642ba22033e03cb5c637bc1487b43daee [file] [log] [blame]
Tomás Villaseca4f962b72019-12-27 14:15:21 -03001# Copyright 2019 Whitestack LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12# implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16FROM alpine
17
18WORKDIR /src
19
20RUN apk update && apk add --update --no-cache git bash util-linux grep
21RUN git clone https://osm.etsi.org/gerrit/osm/RO.git
22RUN git clone https://osm.etsi.org/gerrit/osm/devops.git
23RUN git clone https://osm.etsi.org/gerrit/osm/LCM.git
24RUN git clone https://osm.etsi.org/gerrit/osm/NBI.git
25RUN git clone https://osm.etsi.org/gerrit/osm/POL.git
26RUN wget https://raw.githubusercontent.com/gdbtek/linux-cookbooks/master/libraries/util.bash
27
28COPY /src /src
29
30RUN /bin/bash scanModules.sh