Updates sol006 branch with master
[osm/IM.git] / tools / Dockerfile
1 # 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
16 FROM alpine
17
18 WORKDIR /src
19
20 RUN apk update && apk add --update --no-cache git bash util-linux grep
21 RUN git clone https://osm.etsi.org/gerrit/osm/RO.git
22 RUN git clone https://osm.etsi.org/gerrit/osm/devops.git
23 RUN git clone https://osm.etsi.org/gerrit/osm/LCM.git
24 RUN git clone https://osm.etsi.org/gerrit/osm/NBI.git
25 RUN git clone https://osm.etsi.org/gerrit/osm/POL.git
26 RUN wget https://raw.githubusercontent.com/gdbtek/linux-cookbooks/master/libraries/util.bash
27
28 COPY /src /src
29
30 RUN /bin/bash scanModules.sh