Skip to content

Commit

Permalink
System-wide in container
Browse files Browse the repository at this point in the history
  • Loading branch information
trygveasp committed May 2, 2023
1 parent 09631e0 commit f8bb9be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions Dockerfile_ubuntu_20_04
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ WORKDIR /pysurfex
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update
RUN apt-get install -y python3 python3-distutils curl libudunits2-dev libproj-dev libeccodes0 libeccodes-dev libnetcdf-dev netcdf-bin
RUN apt-get install -y python3 python3-distutils python3-pip curl libudunits2-dev libproj-dev libeccodes0 libeccodes-dev libnetcdf-dev netcdf-bin


# Install
COPY . .

ENV POETRY_HOME=/usr/local
RUN curl -sSL https://install.python-poetry.org | python3 -
RUN poetry install
RUN poetry run pytest
RUN python3 -m pip install . --upgrade

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pysurfex"
version = "0.0.3.3"
version = "0.0.3.4"
description = "Python API to SURFEX"
authors = ["Trygve Aspelien"]
license = "MIT"
Expand Down

0 comments on commit f8bb9be

Please sign in to comment.