Procházet zdrojové kódy

HUE-8846 [ci] Adding custom image of precompiled dependencies

Romain před 6 roky
rodič
revize
51193ab010
3 změnil soubory, kde provedl 19 přidání a 1 odebrání
  1. 2 1
      .circleci/config.yml
  2. 9 0
      tools/docker/ci/Dockerfile
  3. 8 0
      tools/docker/ci/README.md

+ 2 - 1
.circleci/config.yml

@@ -8,7 +8,8 @@ jobs:
     docker:
       # specify the version you desire here
       # use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers`
-      - image: circleci/python:3.6.1
+      # - image: circleci/python:3.6.1
+      - image: gethue/hue-cci:1.0.0
 
       # Specify service dependencies here if necessary
       # CircleCI maintains a library of pre-built images

+ 9 - 0
tools/docker/ci/Dockerfile

@@ -0,0 +1,9 @@
+# Welcome to Hue (http://gethue.com) Dockerfile
+# Build an image from a remote github or local cloned Hue repository.
+
+FROM gethue/hue:latest
+LABEL description="Hue Image for CI"
+
+LABEL com.circleci.preserve-entrypoint=true
+
+ENTRYPOINT contacts

+ 8 - 0
tools/docker/ci/README.md

@@ -0,0 +1,8 @@
+
+## Build
+
+    docker build -t gethue/hue-cci:1.0.0 .
+
+## Push
+
+    docker push gethue/hue-cci:1.0.0