aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <max@magorsch.de>2020-01-01 02:31:27 +0100
committerMax Magorsch <max@magorsch.de>2020-01-01 02:31:27 +0100
commite7e14b050ace9de98e33efa42fef5bf513d1f9c9 (patch)
tree377fd288536fd4615983ea5d2dd15834794a4ed5 /.travis
parentEnable travis to build the container images (diff)
downloadpackages-5-e7e14b050ace9de98e33efa42fef5bf513d1f9c9.tar.gz
packages-5-e7e14b050ace9de98e33efa42fef5bf513d1f9c9.tar.bz2
packages-5-e7e14b050ace9de98e33efa42fef5bf513d1f9c9.zip
Split up the Dockerfiles into two seperate files
The Dockerfiles have been split up into two files. The first file contains all prerequisites to run a ruby / rails application including nodejs. The second Dockerfile contains all the gpackages specific code and extends the gentoo-rails image. This way travis can build just the second image as the first image takes too much time to build it with travis. Signed-off-by: Max Magorsch <max@magorsch.de>
Diffstat (limited to '.travis')
-rw-r--r--.travis/travis.docker.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis/travis.docker.yml b/.travis/travis.docker.yml
index f9f33b7..77c06e7 100644
--- a/.travis/travis.docker.yml
+++ b/.travis/travis.docker.yml
@@ -9,8 +9,11 @@ cache:
before_install:
- docker load -i docker_images/images.tar || true
- - travis_wait 120 docker build -t pgo .
+ - docker pull mmagorsc/gentoo-rails:latest && docker tag mmagorsc/gentoo-rails:latest gentoo/rails:latest
+ - docker build -t gentoo/gpackages:latest .
+## TODO Use either DockerHub or Github Packages and uncomment this block afterwards
+## Publish the docker image and run the tests
#script:
# # publish on dockerhub
# - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin