You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/01/02 01:04:45 UTC

[GitHub] [trafficcontrol] zrhoffman commented on issue #4247: TO image: Copy files from a previous build stage instead of trafficops-perl

zrhoffman commented on issue #4247: TO image: Copy files from a previous build stage instead of trafficops-perl
URL: https://github.com/apache/trafficcontrol/pull/4247#issuecomment-570098763
 
 
   If we are going to have the Perl and Go images use a minimal base image, we could just use `trafficops-go` itself as the base image for `trafficops-perl`. There are no Yum packages installed in the `trafficops-go` image that `trafficops-perl` does not also use. The only bloat that I see from this approach would be that `trafficops-perl`'s base image initially would include the `traffic_ops_golang` binary (and the 7.1MB `traffic_ops.rpm` file, depending on how we want to install its remaining dependencies in the Perl image).
   
   Because we would have the RPM at the start of the Perl Dockerfile, we would lose the "cached layers" benefit of #3733, though that would now only affect rebuilding the Perl image.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services