PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, September 28, 2022

[FIXED] How would you go about dockerfile and rpm scripting?

 September 28, 2022     continuous-deployment, continuous-integration, devops, docker, rpm     No comments   

Issue

Currently I create rpm for my app and install with puppet. How would you go about using docker? Is there a best practice? What is the recommended way?

  1. Continue creating rpm for your app and install in docker.
  2. Just use the docker file to do the scripting you need on your image creating rpm for your app is not needed anymore.

thanks


Solution

Ask yourself those questions:

  • Do you need to audit your system (and container)?
  • Do you need to know which version of application (and libraries) are installed in that container?
  • Do you need to know which files were altered since installation?
  • Do you need to know if files were installed from trusted source?
  • Do you need to know if there is never version of app/library with security fix available for your docker image?

If you answer "No" to all those questions then just copying bits into container is perfectly fine and you really do not need rpm. However if you answer "Yes" to some of those questions, then 'rpm' is very handy tool for you.



Answered By - msuchy
Answer Checked By - Gilberto Lyons (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing