policyLoger.properties file was removed as part of moving to slf4j
for logging. But the assembly.xml file was still refering to it. Since
the file was not there the /bin directory was missing from the
created package. Resulting in docker builds failing.
Change-Id: Ia800c949d180d592aa0adb6cf61773b37329be48
Issue-ID: POLICY-1346
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
RUN groupadd policy
RUN useradd --create-home --shell /bin/bash -g policy policy
-RUN mkdir -p ${POLICY_DISTRIBUTION_HOME} ${POLICY_LOGS} ${POLICY_HOME}/etc/ssl && \
+RUN mkdir -p ${POLICY_DISTRIBUTION_HOME} ${POLICY_LOGS} ${POLICY_HOME}/etc/ssl ${POLICY_DISTRIBUTION_HOME}/bin && \
chown -R policy:policy ${POLICY_HOME} ${POLICY_DISTRIBUTION_HOME} ${POLICY_LOGS}
RUN mkdir /packages
</dependencySet>
</dependencySets>
<fileSets>
- <fileSet>
- <directory>${project.basedir}/src/main/resources</directory>
- <includes>
- <include>policyLogger.properties</include>
- </includes>
- <outputDirectory>/bin/config</outputDirectory>
- <lineEnding>unix</lineEnding>
- </fileSet>
<fileSet>
<directory>${project.basedir}/src/main/resources/etc
</directory>