File: Dockerfile

package info (click to toggle)
eccodes-python 2%3A1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 400 kB
  • sloc: python: 2,695; ansic: 262; makefile: 83
file content (24 lines) | stat: -rw-r--r-- 567 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Run tests in a more reproducible and isolated environment.
#
# Build the docker image once with:
#   docker build -t eccodes .
# Run the container with:
#   docker run --rm -it -v `pwd`:/src eccodes-python
#
FROM bopen/ubuntu-pyenv:latest

ARG DEBIAN_FRONTEND="noninteractive"

RUN apt-get -y update && apt-get install -y --no-install-recommends \
        libeccodes0 \
 && rm -rf /var/lib/apt/lists/*

COPY . /src/

RUN cd /src \
    && make local-install-test-req \
    && make local-develop \
    && make local-install-dev-req \
 && make distclean

WORKDIR /src