Skip to content

Commit

Permalink
Merge branch 'main' into cansavvy/gi_calc
Browse files Browse the repository at this point in the history
  • Loading branch information
cansavvy authored Jul 17, 2024
2 parents 3279d56 + 2426808 commit 781b0d9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 69 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ jobs:
# Set up Docker build
- name: Set up Docker Build
uses: docker/setup-buildx-action@v1

- name: Get token
run: echo ${{ secrets.GH_PAT }} > ${{ inputs.directory }}/git_token.txt

# Build docker image
- name: Build Docker image
Expand All @@ -70,5 +67,5 @@ jobs:
- name: Push Docker image if manual trigger set to true
if: ${{ github.event.inputs.dockerhubpush != 'false' }}
run: |
docker tag jhudsl/base_ottr:latest jhudsl/base_ottr:$github.event.inputs.tag
docker push jhudsl/base_ottr:$github.event.inputs.tag
docker tag hutch/gimap:latest hutch/gimap:$github.event.inputs.tag
docker push hutch/gimap:$github.event.inputs.tag
14 changes: 3 additions & 11 deletions inst/extdata/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,14 @@ FROM rocker/tidyverse:4.0.2
LABEL maintainer="cansav09@gmail.com"
WORKDIR /rocker-build/

COPY install_github.R .
COPY git_token.txt .
COPY github_package_list.tsv .

# Install a package from CRAN
RUN Rscript -e "options(warn = 2);install.packages( \
c('remotes', \
'styler'), \
repos = 'https://cloud.r-project.org/')"

# Install packages from github
RUN Rscript install_github.R \
--packages github_package_list.tsv \
--token git_token.txt



# Install the thing
RUN installGithub.r FredHutch/gimap

# Set final workdir for commands
WORKDIR /home/rstudio
1 change: 0 additions & 1 deletion inst/extdata/github_package_list.tsv

This file was deleted.

52 changes: 0 additions & 52 deletions inst/extdata/install_github.R

This file was deleted.

0 comments on commit 781b0d9

Please sign in to comment.