Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"RUN touch app.jar" doubles size of app.jar in image #27

Closed
merusso opened this issue Jun 30, 2017 · 2 comments
Closed

"RUN touch app.jar" doubles size of app.jar in image #27

merusso opened this issue Jun 30, 2017 · 2 comments

Comments

@merusso
Copy link

merusso commented Jun 30, 2017

Can you give more details for why this is necessary? Does it still apply for newer versions of Docker? I disabled this command and didn't notice an impact -- app.jar still has a modification time.

@dsyer
Copy link
Contributor

dsyer commented Jul 23, 2017

It used to be the case that the modification time was 0. Maybe that was a bug in docker and they fixed it. We used to have a bigger base image as well, so the extra layer wasn't as important.

@dsyer
Copy link
Contributor

dsyer commented Jul 24, 2017

See #29

@dsyer dsyer closed this as completed Jul 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants