michaeljmarshall commented on pull request #13376:
URL: https://github.com/apache/pulsar/pull/13376#issuecomment-999078443


   New docker image built from the most recent commit: 
`michaelmarshall/pulsar:2.10.0-SNAPSHOT-1dec8b9`.
   
   Note that I ran the dive tool (https://github.com/wagoodman/dive) against 
the `2.9.0` image and the `1dec8b9` image. Below are screenshots of the 
results. It looks like our command to install utilities introduces some 
inefficiency. My changes don't affect image size, though.
   
   ```Dockerfile
   RUN apt-get update \
        && apt-get -y dist-upgrade \
        && apt-get -y install openjdk-11-jdk-headless netcat dnsutils less 
procps iputils-ping \
                    python3 python3-dev python3-setuptools python3-yaml 
python3-kazoo \
                    libreadline-gplv2-dev libncursesw5-dev libssl-dev 
libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev \
                    curl \
        && apt-get -y --purge autoremove \
        && apt-get autoclean \
        && apt-get clean \
        && rm -rf /var/lib/apt/lists/*
   ```
   
   ![dive pulsar 2 9 
0](https://user-images.githubusercontent.com/47911938/146994180-0d87f8d8-48a3-41d8-aa6d-5f0d43214b2e.png)
   
   ![dive pulsar 
1dec8b9](https://user-images.githubusercontent.com/47911938/146994183-3641a2c8-2521-45e9-be0b-b75ecad1b49d.png)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to