[ 
https://issues.apache.org/jira/browse/CASSANDRA-14985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16746407#comment-16746407
 ] 

Stefan Podkowinski commented on CASSANDRA-14985:
------------------------------------------------

Just to be clear, I'm not at all against updating the base image or caching 
dependencies. But I'd rather avoid the situation where someone only wants to 
update cached dependencies and accidentally updates other packages from the 
main image as well. CCM is a good example, as updating CCM was not a goal of 
this ticket and yet still happened, just by touching the base image. So lets 
just have two ways of either explicitly updating the base or caching image and 
just avoid these issues.

Anyways, feel free to commit the added separate Dockerfile.

>  CircleCI docker image  should bake in more dependencies
> --------------------------------------------------------
>
>                 Key: CASSANDRA-14985
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14985
>             Project: Cassandra
>          Issue Type: Test
>          Components: Test/dtest, Test/unit
>            Reporter: Ariel Weisberg
>            Assignee: Ariel Weisberg
>            Priority: Major
>             Fix For: 4.0
>
>
> It's pretty frequent especially in the upgrade tests for either maven or 
> github to fail. I think they are detecting the thundering herd of containers 
> all pulling stuff at the same time and opting out.
> We can reduce this especially for maven dependencies since most are hardly 
> ever changing by downloading everything we can in advance and baking it into 
> the image.
> When building the docker image Initialize the local maven repository by 
> running ant maven-ant-tasks-retrieve-build for 2.1-trunk and do the same with 
> CCM and the Apache repository.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to