Skip to content
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.

Fewer layers in docker images #323

Closed
ash211 opened this issue May 31, 2017 · 3 comments
Closed

Fewer layers in docker images #323

ash211 opened this issue May 31, 2017 · 3 comments

Comments

@ash211
Copy link

ash211 commented May 31, 2017

#320 (comment)

Basically, don't repeatedly use RUN

@johscheuer
Copy link

Hi, I stumbled over this issue (I want to learn more about Spark on Kubernetes) and wanted to fix this issue. After I looked into the Dockerfiles I found out that there are many repetitions in the Docker images maybe it would be a good move to create a base-image ?

@mccheah
Copy link

mccheah commented Jun 1, 2017

Using a base image would be helpful - can you push something for review? SparkDockerImageBuilder would need changes as well.

@ash211
Copy link
Author

ash211 commented Jun 1, 2017

@johscheuer thanks for taking an interest in this project!

We can do this by merging the RUN commands in each separate Dockerfile, and then later creating a base-image, or jumping straight to creating the base image.

If you're interested in contributing to this project with a PR I'd be happy to help code review!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants