From a008ffc79cc68b78e7a109a686b65d54074401c4 Mon Sep 17 00:00:00 2001 From: roelderickx Date: Sun, 10 Sep 2023 15:23:55 +0200 Subject: [PATCH] #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 +