From e3d572b6b4988a5caa204d03d287a3bd294a0143 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Wed, 3 Apr 2019 14:41:50 -0400 Subject: [PATCH] Get Debian 8 switched over as well --- .circleci/Dockerfile.debian-8 | 13 +++++++++++++ .circleci/config.yml | 8 +++++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 .circleci/Dockerfile.debian-8 diff --git a/.circleci/Dockerfile.debian-8 b/.circleci/Dockerfile.debian-8 new file mode 100644 index 000000000..449bbf8b0 --- /dev/null +++ b/.circleci/Dockerfile.debian-8 @@ -0,0 +1,13 @@ +FROM debian:8 + +RUN apt-get --quiet update && \ + apt-get --quiet --yes install git && \ + apt-get --quiet --yes install \ + sudo \ + build-essential \ + python2.7 \ + python2.7-dev \ + libffi-dev \ + libssl-dev \ + libyaml-dev \ + virtualenv diff --git a/.circleci/config.yml b/.circleci/config.yml index 3c25ebb20..6da8aaa38 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -179,7 +179,7 @@ jobs: debian-8: <<: *DEBIAN docker: - - image: "debian:8" + - image: "tahoelafsci/debian:8" c-locale: @@ -432,11 +432,12 @@ jobs: command: | apk add --no-cache openssl - run: - name: "Build Debian 9 image" + name: "Build Debian images" command: | + docker build -t tahoelafsci/debian:8 -f ~/project/.circleci/Dockerfile.debian-8 . docker build -t tahoelafsci/debian:9 -f ~/project/.circleci/Dockerfile.debian-9 . - run: - name: "Push Debian 9 image" + name: "Push Debian images" command: | # If you create an encryption key like this: # @@ -478,4 +479,5 @@ jobs: # You have to create the debian repository (presumably via the # Dockerhub web interface) before anything can be pushed to it. + docker push ${TAHOELAFSCI_USERNAME}/debian:8 docker push ${TAHOELAFSCI_USERNAME}/debian:9