From d5d86727cf77b73ff03dac7d99534be8107ebe37 Mon Sep 17 00:00:00 2001 From: roelderickx Date: Sun, 10 Sep 2023 15:16:00 +0200 Subject: [PATCH 1/2] #30 only deploy package to dockerhub when a tag is pushed --- .github/workflows/deploy.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 03f3da8..275803b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,8 +2,6 @@ name: deploy on: push: - branches: - - main tags: - '*' From a008ffc79cc68b78e7a109a686b65d54074401c4 Mon Sep 17 00:00:00 2001 From: roelderickx Date: Sun, 10 Sep 2023 15:23:55 +0200 Subject: [PATCH 2/2] #30 reinstate old dockerfile in the test directory to have an environment compatible with github actions --- test/Dockerfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 test/Dockerfile diff --git a/test/Dockerfile b/test/Dockerfile new file mode 100644 index 0000000..94968f4 --- /dev/null +++ b/test/Dockerfile @@ -0,0 +1,23 @@ +FROM amd64/ubuntu:20.04 + +WORKDIR /app + +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get install -y \ + libxml2-utils \ + python-is-python3 \ + pip && \ + unlink /etc/localtime && \ + ln -s /usr/share/zoneinfo/Europe/Brussels /etc/localtime + +RUN apt-get install -y \ + gdal-bin \ + libgdal-dev \ + python3-gdal \ + libprotobuf-dev \ + protobuf-compiler \ + osmctools + +RUN pip install cram lxml +RUN pip install --upgrade protobuf +