1# Run tests in a more reproducible and isolated environment. 2# 3# Build the docker image once with: 4# docker build -t eccodes . 5# Run the container with: 6# docker run --rm -it -v `pwd`:/src eccodes-python 7# 8FROM bopen/ubuntu-pyenv:latest 9 10ARG DEBIAN_FRONTEND="noninteractive" 11 12RUN apt-get -y update && apt-get install -y --no-install-recommends \ 13 libeccodes0 \ 14 && rm -rf /var/lib/apt/lists/* 15 16COPY . /src/ 17 18RUN cd /src \ 19 && make local-install-test-req \ 20 && make local-develop \ 21 && make local-install-dev-req \ 22 && make distclean 23 24WORKDIR /src 25