Skip to content

Commit a664828

Browse files
authored
Merge pull request #6 from ottrproject/metricsImage
add a new docker image for metrics
2 parents cd51d16 + 48ba6e0 commit a664828

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/merge.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- {dir: ottr_website, name: 'jhudsl/ottr_website'}
2727
- {dir: ottr_jupyter, name: 'jhudsl/ottr_jupyter'}
2828
- {dir: ottr_itn_workshop, name: 'jhudsl/ottr_itn_workshop'}
29+
- {dir: ottr_metrics, name: 'jhudsl/ottr_metrics'}
2930
# NEW IMAGES HERE: #
3031
####### - {dir: directory_path, name: 'name its called on dockerhub'}
3132
steps:

.github/workflows/pull_request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- {dir: ottr_website, name: 'jhudsl/ottr_website'}
2424
- {dir: ottr_jupyter, name: 'jhudsl/ottr_jupyter'}
2525
- {dir: ottr_itn_workshop, name: 'jhudsl/ottr_itn_workshop'}
26+
- {dir: ottr_metrics, name: 'jhudsl/ottr_metrics'}
2627
# NEW IMAGES HERE: #
2728
####### - {dir: directory_path, name: 'name its called on dockerhub'}
2829
steps:

ottr_metrics/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Usage: for running the analysis part of the AnVIL User Poll
2+
3+
FROM jhudsl/ottr_website
4+
LABEL maintainer="itcrtrainingnetwork@gmail.com"
5+
6+
# Install metrics packages
7+
RUN Rscript -e "options(warn = 2);install.packages( \
8+
c('cranlogs', 'metricminer'), \
9+
repos = 'https://cloud.r-project.org/')"

0 commit comments

Comments
 (0)