diff --git a/packaging/docker/Dockerfile b/packaging/docker/Dockerfile index 1f3bd503f6a641679924075e8ca9d164cb1a5ee3..26349e257676d99d0ea81e03509c8b09c20a2248 100644 --- a/packaging/docker/Dockerfile +++ b/packaging/docker/Dockerfile @@ -9,8 +9,10 @@ RUN echo ${pkgFile} && echo ${dirName} COPY ${pkgFile} /root/ RUN tar -zxf ${pkgFile} -WORKDIR /root/${dirName}/ -RUN /bin/bash install.sh -e no +WORKDIR /root/ +RUN cd /root/${dirName}/ && /bin/bash install.sh -e no && cd /root +RUN rm /root/${pkgFile} +RUN rm -rf /root/${dirName} ENV DEBIAN_FRONTEND=noninteractive RUN apt-get clean && apt-get update && apt-get install -y locales tzdata netcat && locale-gen en_US.UTF-8