Caching a single file on Travis CI

Inside my build on travis I need to first download a large .tar.gz file.

This .tar.gz never changes so it’s a good idea cache it.

  • How to open Ubuntu GUI inside docker image
  • Importing test library 'SSHLibrary' fails with the ImportError “Importing Paramiko library failed. Make sure you have Paramiko installed.”
  • Docker local private registry cross region setup
  • Port forwarding in docker-machine?
  • Java and docker based on alpine
  • How to get this to work? Dockerfile FROM {YourPrivateRepo.azurecr.io/some/repo}
  • The .tar.gz it’s downloaded inside my Dockerfile:

    RUN curl ftp://mycompanyftp.com/foo/bar/mylargefile.tar.gz -o /tmp/mylarge.tar.gz

    With that the docker container build with the file inside.

    How can I cache this file?

    PS: It’s also possible to download the file on before_install and use docker ADD to put it inside the Docker container.

  • Docker using gosu vs USER
  • docker inside docker container
  • should I run composer install inside my docker build
  • docker how to set containers to only use ips within a sepcified range
  • Provide environment variables to elastic beanstalk docker deployment
  • Mount Docker volume on host but make files “immutable”?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.