weizhouapache commented on issue #5936: URL: https://github.com/apache/cloudstack/issues/5936#issuecomment-1031461582
> @Pearl1594 Interesting... > > Why is your image 13GB in size open_mouth ? Wei's and mine are 3.45GB. > > Which commands did you use to build it ? Did you use gcc-10 ? > @tampler I guess it is because @Pearl1594 built the docker image from a folder for developement , which contains the jars, systemvm templates, nodejs modules, git history, etc. > Your flow seems to be the following. You build the project locally with `mvn` and observe the right behavior, which @DaanHoogland observed as well. > > Then you run somewhere `COPY . /root` in your docker and move the whole thing with a pre-built 13GB binaries to a docker container. Then you run and all seems to be working fine. > > However, if you build the project properly... You'll get a 3.45GB file, like I had. I built it on Feb 6, literally last night. And in that build something is wrong. You get a smaller binary, but the simulator stops somewhere on the go. > > I'd be grateful if you test my own docker build, which I posted previously. That will give us apples-to-apples compare. And debug help as well -- 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]
