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

FEATURE: Adapt Dockerfile to use Entrypoint for execution-dependent tasks #233

Closed
3 tasks
rshad opened this issue Oct 30, 2019 · 1 comment
Closed
3 tasks

Comments

@rshad
Copy link
Contributor

rshad commented Oct 30, 2019

Hi all!

Problem Description

When building docker image, using the dockerfile of wazuh-chef pipeline, it's taking a lot of time on each image build as we need to install the required Ruby gems, then they are installed on each build.

This non-efficient way of working would be avoided by following a different approach, we describe as follows:

  • Download the target image ruby only once.
  • Install the Gems only once.
  • Run as ENTRYPOINT the execution-dependent tasks.

NOTE: This description may be updated in the future if needed.

Kr,

Rshad

@rshad rshad closed this as completed Oct 31, 2019
@rshad
Copy link
Contributor Author

rshad commented Oct 31, 2019

Duplicate of #235

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

1 participant