Remove unwanted components from image
[optf/osdf.git] / docker / osdf / assembly / osdf-files.xml
1 <!--
2         Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
3
4     Licensed under the Apache License, Version 2.0 (the "License"); you may
5     not use this file except in compliance with the License. You may obtain
6     a copy of the License at
7
8         http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12     WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13     License for the specific language governing permissions and limitations
14     under the License.
15
16 -->
17
18 <!--
19     Copyright (c) 2018 Intel Corporation. All rights reserved.
20
21     Licensed under the Apache License, Version 2.0 (the "License"); you may
22     not use this file except in compliance with the License. You may obtain
23     a copy of the License at
24
25         http://www.apache.org/licenses/LICENSE-2.0
26
27     Unless required by applicable law or agreed to in writing, software
28     distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
29     WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
30     License for the specific language governing permissions and limitations
31     under the License.
32 -->
33
34 <assembly
35         xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1"
36         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
37         xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd">
38         <id>osdf-files</id>
39
40         <formats>
41                 <format>tar.gz</format>
42         </formats>
43         <includeBaseDirectory>false</includeBaseDirectory>
44
45
46         <fileSets>
47                 <fileSet>
48                         <includes>
49                                 <include>apps/**</include>
50                                 <include>osdf/**</include>
51                                 <include>config/**</include>
52                                 <include>setup.py</include>
53                                 <include>osdfapp.py</include>
54                                 <include>requirements.txt</include>
55                                 <include>requirements-osdf.txt</include>
56                         </includes>
57                         <excludes>
58                 <exclude>**/*.pyc</exclude>
59                                 <exclude>**/__pycache__/**</exclude>
60             </excludes>
61                         <outputDirectory>/</outputDirectory>
62                 </fileSet>
63
64         </fileSets>
65 </assembly>