From a18b53ec37fb3db5953157a5e34fa9cc300d086b Mon Sep 17 00:00:00 2001 From: Alejandro Saucedo Date: Wed, 27 Jan 2021 14:37:50 +0000 Subject: [PATCH 1/2] Added new python builder with latest git --- python-builder/Dockerfile | 10 ++++++++++ python-builder/Makefile | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/python-builder/Dockerfile b/python-builder/Dockerfile index 975678aaf1..729f397f39 100644 --- a/python-builder/Dockerfile +++ b/python-builder/Dockerfile @@ -28,6 +28,16 @@ RUN pip install flatbuffers RUN pip install twine RUN pip install mypy-protobuf +# Install latest git +RUN apt-get upgrade -y +RUN apt-get update -y +RUN apt-get install -y make libssl-dev libghc-zlib-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip +RUN wget https://github.com/git/git/archive/v2.30.0.zip -O git.zip +RUN unzip git.zip +RUN apt-get remove git -y +RUN make prefix=/usr/local -C git-2.30.0/ all install + + WORKDIR /work # Define default command. diff --git a/python-builder/Makefile b/python-builder/Makefile index ab7dc08b67..56531baad4 100644 --- a/python-builder/Makefile +++ b/python-builder/Makefile @@ -1,5 +1,5 @@ DOCKER_IMAGE_NAME=seldonio/python-builder -DOCKER_IMAGE_VERSION=0.2 +DOCKER_IMAGE_VERSION=0.3 build_docker_image: docker build --force-rm=true -t $(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_VERSION) . From 4a33709dadc2f74351c77fb4b317bd4252366698 Mon Sep 17 00:00:00 2001 From: Alejandro Saucedo Date: Wed, 27 Jan 2021 14:38:01 +0000 Subject: [PATCH 2/2] Running action with latest python --- .github/workflows/python_lint.yml | 2 +- .github/workflows/python_tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python_lint.yml b/.github/workflows/python_lint.yml index 0fe4251e92..5fd0478de4 100644 --- a/.github/workflows/python_lint.yml +++ b/.github/workflows/python_lint.yml @@ -10,7 +10,7 @@ jobs: python-lint: runs-on: ubuntu-18.04 - container: seldonio/python-builder:0.2 + container: seldonio/python-builder:0.3 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/python_tests.yml b/.github/workflows/python_tests.yml index 1f0bd0e343..e2806352e2 100644 --- a/.github/workflows/python_tests.yml +++ b/.github/workflows/python_tests.yml @@ -10,7 +10,7 @@ jobs: python-tests: runs-on: ubuntu-18.04 - container: seldonio/python-builder:0.2 + container: seldonio/python-builder:0.3 steps: - uses: actions/checkout@v2