From 1714653677fa248aa0901d92178241b1a3e672aa Mon Sep 17 00:00:00 2001 From: Kasia Kulma Date: Tue, 3 Oct 2023 22:33:56 +0100 Subject: [PATCH] update data image --- .github/workflows/schedule.yml | 2 +- Dockerfile | 3 +++ Dockerfile-dev | 9 +++++++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index 4fb9ae1..c0274bc 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -7,7 +7,7 @@ jobs: update_data: runs-on: ubuntu-latest container: - image: kasiatemp/ng-update:daily + image: kasiatemp/carbon-intensity-data:latest steps: - name: Checkout repo uses: actions/checkout@v2 diff --git a/Dockerfile b/Dockerfile index f71aa04..47de42f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,6 @@ +## kasiatemp/ng-update:daily +## kasiatemp/carbon-intensity-data + FROM rocker/r-ver:4.0.3 RUN apt-get update \ diff --git a/Dockerfile-dev b/Dockerfile-dev index 702782e..e46a730 100644 --- a/Dockerfile-dev +++ b/Dockerfile-dev @@ -1,4 +1,9 @@ -FROM rocker/shiny:4.0.4 -RUN install2.r rsconnect shiny shinyWidgets dygraphs ggplot2 plotly xts dplyr bslib here stringr lubridate viridis intensegRid logger +FROM rocker/shiny:latest +RUN install2.r --skipinstalled --error \ + rsconnect shiny shinyWidgets \ + dygraphs ggplot2 plotly xts viridis \ + dplyr bslib here stringr lubridate \ + intensegRid logger \ + && rm -rf /tmp/downloaded_packages WORKDIR /opt/app