Skip to content

Commit 055f8bb

Browse files
committed
specify pythesint version for testing image
1 parent bd58358 commit 055f8bb

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
target: base
5151
build-args: |
5252
BASE_IMAGE=${{ env.BASE_IMAGE }}
53+
PYTHESINT_VERSION=v1.7.3.dev0
5354
push: false
5455
load: true
5556
tags: testing

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ ARG BASE_IMAGE='nansencenter/nansat:latest'
33
FROM ${BASE_IMAGE} as base
44
LABEL purpose="Running and developing Django-Geo-SpaaS"
55
ENV PYTHONUNBUFFERED=1
6+
ARG PYTHESINT_VERSION ''
67

78
# Install Django
89
RUN apt update \
@@ -21,7 +22,9 @@ RUN apt update \
2122
thredds_crawler==1.5.4 \
2223
&& apt remove -y g++ && apt autoremove -y \
2324
&& apt clean && rm -rf /var/lib/apt/lists/* \
24-
&& echo "alias ll='ls -lh'" >> /root/.bashrc
25+
&& echo "alias ll='ls -lh'" >> /root/.bashrc \
26+
&& [ -n "${PYTHESINT_VERSION}" ] && pythesint_version_string="==${PYTHESINT_VERSION}" || pythesint_version_string=''
27+
&& pip install -y --no-cache-dir "pythesint${pythesint_version_string}"
2528

2629
FROM base as full
2730

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies = [
3434
"gdal",
3535
"nansat",
3636
"netCDF4",
37-
"pythesint",
37+
"pythesint==1.7.3.dev0",
3838
]
3939
urls = {Repository = "https://github.com/nansencenter/django-geo-spaas"}
4040
dynamic = ["version"]

0 commit comments

Comments
 (0)