Skip to content

Commit

Permalink
Legger til utviklingsmilø for nkr
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinthon committed Dec 3, 2024
1 parent 54109e9 commit b6184e5
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
base-r-alpine: "base-r-alpine/**"
pilot-dev: "pilot-dev/**"
norvas-dev: "norvas-dev/**"
rygg-dev: "rygg-dev/**"
push_to_registries:
needs: changes
Expand Down
13 changes: 13 additions & 0 deletions rygg-dev/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM rapporteket/dev:weekly

LABEL maintainer="Kevin Thon <[email protected]>"

ARG GITHUB_PAT
ENV GITHUB_PAT=${GITHUB_PAT}

# add registry dev config and R pkg dependencies
COPY --chown=rstudio:rstudio db.yml /home/rstudio/rap_config/
RUN cat /home/rstudio/rap_config/db.yml >> /home/rstudio/rap_config/dbConfig.yml \
&& rm /home/rstudio/rap_config/db.yml \
&& R -e "remotes::install_github(c('Rapporteket/rapbase', 'Rapporteket/rapFigurer', \
'Rapporteket/rygg'))"
9 changes: 9 additions & 0 deletions rygg-dev/db.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

# for registry development
rygg:
host: db
name: NKRRapporteket
user: root
pass: root
disp: ForRyggDevOnly

0 comments on commit b6184e5

Please sign in to comment.