FAQ
| This is a
LIVE
service |
Changelog
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ews-coordinator
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gilligan Lab for Epidemiology and Modelling
Wheat rusts
ews-coordinator
Commits
26bc230c
Commit
26bc230c
authored
7 months ago
by
L. Bower
Browse files
Options
Downloads
Patches
Plain Diff
modifications to docker file and install script
parent
4f6fe0ec
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configs/docker/build/Dockerfile
+5
-2
5 additions, 2 deletions
configs/docker/build/Dockerfile
tests/integration/partial/run_test_suite.sh
+2
-3
2 additions, 3 deletions
tests/integration/partial/run_test_suite.sh
with
7 additions
and
5 deletions
configs/docker/build/Dockerfile
+
5
−
2
View file @
26bc230c
# syntax=docker/dockerfile:1
FROM
ubuntu:24.04
as
base_image
FROM
ubuntu:24.04
SHELL
["/bin/bash", "-c"]
#install system packages
RUN
apt-get update
;
apt-get
install
--assume-yes
python3.11 python3.11-venv wget unzip emacs gdal-bin libgdal-dev build-essential gfortran zlib1g zlib1g-dev libbz2-dev apt-utils liblzma-dev libcurl4-openssl-dev default-jre openssh-server libfribidi-dev libfontconfig1-dev libspatialindex-dev git dos2unix nano rsync
;
RUN
apt-get update
;
RUN
apt-get
install
--assume-yes
software-properties-common
;
RUN
add-apt-repository ppa:deadsnakes/ppa
;
RUN
apt-get
install
--assume-yes
python3.11 python3.11-venv wget unzip emacs gdal-bin libgdal-dev build-essential gfortran zlib1g zlib1g-dev libbz2-dev apt-utils liblzma-dev libcurl4-openssl-dev default-jre openssh-server libfribidi-dev libfontconfig1-dev libspatialindex-dev git dos2unix nano rsync
;
RUN
echo
"alias e='emacs -nw
$1
'"
>>
~/.bashrc
;
RUN
alias
ll
=
"ls -ltr"
...
...
This diff is collapsed.
Click to expand it.
tests/integration/partial/run_test_suite.sh
+
2
−
3
View file @
26bc230c
...
...
@@ -3,12 +3,11 @@
# software installed. it writes files to a unix tmp dir and is not intended to be used for diagnostic testing, just
# checking the installation is working
source
/storage/app/
miniconda3/bin/activate /storage/app/EWS_prod/envs/conda/py3EWS/
source
/storage/app/
EWS_prod/envs/venv/ews_prod/bin/activate
# assumes run from the tests/integration/partial dir, and that all necessary packages are checked out alongside
PACKAGES_DIR
=
"../../../../"
flagdir
=
$PACKAGES_DIR
/flagdir
epimodel
=
$PACKAGES_DIR
/epimodel
advisory
=
$PACKAGES_DIR
/advisory_builder
met_processing
=
$PACKAGES_DIR
/met_extractor_v2
...
...
@@ -19,7 +18,7 @@ source_gen=$PACKAGES_DIR/source_gen
coordinator
=
$PACKAGES_DIR
/coordinator/coordinator
coordinator_tests
=
$PACKAGES_DIR
/coordinator/tests
export
PYTHONPATH
=
$PYTHONPATH
:
$
flagdir
:
$
epimodel
:
$advisory
:
$met_processing
:
$met_processor
:
$plotting
:
$source_gen
:
$post_processing
:
$coordinator
:
$coordinator_tests
export
PYTHONPATH
=
$PYTHONPATH
:
$epimodel
:
$advisory
:
$met_processing
:
$met_processor
:
$plotting
:
$source_gen
:
$post_processing
:
$coordinator
:
$coordinator_tests
echo
$PYTHONPATH
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment