Use tini process in lat-container
Use the tini init process to manage the latd process otherwise lots of zombie processes are left around once the image has been built. Story: 2008846 Task: 43751 Signed-off-by: Charles Short <charles.short@windriver.com> Change-Id: I3741900c13c8a024b58ad000e66d3c98b7ad36b5
This commit is contained in:
@@ -24,6 +24,8 @@ RUN apt-get -y update && apt-get --no-install-recommends -y install \
|
||||
xz-utils \
|
||||
file \
|
||||
bzip2 \
|
||||
procps \
|
||||
tini \
|
||||
locales-all \
|
||||
python3-yaml && \
|
||||
apt-get clean && \
|
||||
@@ -37,4 +39,5 @@ ADD ${LAT_BINARY_RESOURCE_PATH}/lat-sdk.sh /opt/LAT/AppSDK.sh
|
||||
RUN chmod +x /opt/LAT/AppSDK.sh
|
||||
RUN /opt/LAT/AppSDK.sh -d /opt/LAT/SDK -y
|
||||
|
||||
ENTRYPOINT ["/opt/LAT/lat/latd"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
CMD ["/opt/LAT/lat/latd"]
|
||||
|
||||
Reference in New Issue
Block a user