Remove unwanted components from image
[optf/osdf.git] / docker / opteng / assembly / osdf-files.xml
1 <!--
2         Copyright (C) 2020 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 <assembly
18         xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1"
19         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20         xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd">
21         <id>osdf-files</id>
22
23         <formats>
24                 <format>tar.gz</format>
25         </formats>
26         <includeBaseDirectory>false</includeBaseDirectory>
27
28
29         <fileSets>
30                 <fileSet>
31                         <includes>
32                                 <include>${project.build.finalName}.zip</include>
33                         </includes>
34                         <directory>${project.build.directory}</directory>
35                         <outputDirectory>/</outputDirectory>
36                 </fileSet>
37                 <fileSet>
38                         <includes>
39                                 <include>runtime/**</include>
40                                 <include>osdf/**</include>
41                                 <include>config/**</include>
42                                 <include>setup.py</include>
43                                 <include>solverapp.py</include>
44                         </includes>
45                         <excludes>
46                 <exclude>**/*.pyc</exclude>
47                                 <exclude>**/__pycache__/**</exclude>
48             </excludes>
49                         <outputDirectory>/</outputDirectory>
50                 </fileSet>
51                 <fileSet>
52                         <includes>
53                                 <include>requirements-opteng.txt</include>
54                         </includes>
55                         <outputDirectory>/</outputDirectory>
56                 </fileSet>
57         </fileSets>
58 </assembly>