SageTV Community  

Go Back   SageTV Community > stuckless
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Conversation Between stuckless and Taddeusz
Showing Visitor Messages 1 to 1 of 1
  1. Taddeusz
    03-10-2018 09:32 PM
    Taddeusz
    I just got your most recent update to your SageTV container and noticed how many steps it has. It is highly recommended to have as few steps as possible. I noticed in your sagetv-base that you have a whole bunch of ADD and RUN lines for each individual my_init script. Since they are all in the same folder I would do it like this:

    ADD init.d/ /etc/my_init.d/
    RUN chmod 755 /etc/my_init.d/*

    Turns 26 steps into 2.

    In fact, if you create a single folder like "image" that duplicates where all your files will go in the resulting image you can create a line like:

    ADD image/ /

    and in one step all the required files are in there and all you need to do is chmod them.

    Sorry, meant this as a private message.

All times are GMT -6. The time now is 11:50 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.