All of lore.kernel.org
 help / color / mirror / Atom feed
* [Fuego] Dockerfile vs install-debian.sh
@ 2020-07-27 11:14 Georg Piewald
  2020-07-27 11:52 ` daniel.sangorrin
  2020-07-27 17:33 ` Bird, Tim
  0 siblings, 2 replies; 9+ messages in thread
From: Georg Piewald @ 2020-07-27 11:14 UTC (permalink / raw)
  To: fuego

Hi guys,

I was just looking into how to install Fuego without a Docker container 
(since the CHANGELOG says it's possible). Apparently, that's what 
install-debian.sh is good for (or is there something else, that I missed?).

But honestly, this script seems like a halfhearted attempt to me and 
strongly violates the DRY principle. It is clearly descendant from 
Dockerfile, but did not evolve with it. Several later modifications in 
Dockerfile did not make it to install-debian.sh. How do you plan to keep 
these files in sync?

I propose to only let install-debian.sh have all the code that sets up 
the OS and installs all requirements. The Dockerfile instead should do 
(almost) nothing but execute install-debian.sh.

An additional benefit of that method is that it will be much easier to 
also keep Dockerfile.nojenkins in sync with the standard Dockerfile. 
Because here we have the same problem of lots of copied code, that is 
slowly drifting apart. We might even not need Dockerfile.nojenkins 
anymore at all.

I can offer to implement this, unless there are strong objections by anyone.

Regards, Georg

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-09-30 23:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-27 11:14 [Fuego] Dockerfile vs install-debian.sh Georg Piewald
2020-07-27 11:52 ` daniel.sangorrin
2020-07-27 11:54   ` daniel.sangorrin
2020-07-27 17:41   ` Bird, Tim
2020-07-28  8:25   ` Georg Piewald
2020-07-28  9:25     ` daniel.sangorrin
2020-07-27 17:33 ` Bird, Tim
2020-07-30 21:38   ` Georg Piewald
2020-09-30 23:57     ` daniel.sangorrin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.