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 properly install Docker on sles 12?
  • Issue withDocker Selenium Grid on VM
  • guacamole You do not have permission to access this connection"
  • I run the tomcat in Docker but when I close the terminal it stops, so how to make it run continuous
  • How to cache downloaded dependencies for a Jenkins Docker SSH Slave (Gradle)
  • Warning: Module 'curl' already loading in Unknown on line 0 (Fix this from a custom.php.ini file)
  • 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.

  • (gcloud.preview.app.deploy) Unexpected Error. Deployed Version
  • pycharm can't complete remote interpreter setup for Docker
  • Can't find equivalent of 'docker node ps' in Docker Python SDK
  • Docker LVM thinpool meta data sizing
  • Bluemix Kubernetes docker deployment query
  • really long environment variable in Dockerfile
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.