Skip to content

Commit

Permalink
install gcc and libxau using conda
Browse files Browse the repository at this point in the history
since conda has its own gcc compiled version
  • Loading branch information
aperrin66 committed Dec 6, 2023
1 parent ddff8c2 commit eedae28
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ ENV PYTHONUNBUFFERED=1 \
PYTHONPATH=/src \
MOD44WPATH=/usr/share/MOD44W/

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
gcc \
libxau6 \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*

COPY environment-${PYTHON_VERSION}.yml /tmp/environment.yml

RUN conda env update -n base --file /tmp/environment.yml --prune \
Expand Down
2 changes: 2 additions & 0 deletions environment-3.10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ dependencies:
- python=3.10.13
- conda=23.10.0
- nomkl
- gcc=13.2.0
- xorg-libxau=1.0.11

- cartopy=0.22.0
- coverage=7.2.2
Expand Down
2 changes: 2 additions & 0 deletions environment-3.11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ dependencies:
- python=3.11.5
- conda=23.10.0
- nomkl
- gcc=13.2.0
- xorg-libxau=1.0.11

- cartopy=0.22.0
- coverage=7.2.2
Expand Down
3 changes: 3 additions & 0 deletions environment-3.7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
name: environment
channels:
- defaults
- conda-forge
dependencies:
- python=3.7.16
- conda=23.1.0
- nomkl
- gcc=13.2.0
- xorg-libxau=1.0.11

- cartopy=0.18.0
- coverage=6.3.2
Expand Down
3 changes: 3 additions & 0 deletions environment-3.8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
name: environment
channels:
- defaults
- conda-forge
dependencies:
- python=3.8.18
- conda=23.9.0
- nomkl
- gcc=13.2.0
- xorg-libxau=1.0.11

- cartopy=0.18.0
- coverage=5.5
Expand Down
3 changes: 3 additions & 0 deletions environment-3.9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
name: environment
channels:
- defaults
- conda-forge
dependencies:
- python=3.9.18
- conda=23.10.0
- nomkl
- gcc=13.2.0
- xorg-libxau=1.0.11

- cartopy=0.18.0
- coverage=7.2.2
Expand Down

0 comments on commit eedae28

Please sign in to comment.