Skip to content

Commit

Permalink
test3
Browse files Browse the repository at this point in the history
  • Loading branch information
jarochi committed Jan 25, 2024
1 parent d9a50e7 commit e4a4f1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/workflows.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: publish
on: [push]
jobs:
publish-hello-docker-image:
publish-test-docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -11,8 +11,8 @@ with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the hello-docker Docker image
- name: Build the test-docker Docker image
run: |
docker build . --tag ghcr.io/jarochi/docker_test:latest
docker run ghcr.io/jarochi/docker_test:latest
docker push ghcr.io/jarochi/docker_test:latest
docker build . --tag ghcr.io/BioGenies/imputomics:docker_test
docker run ghcr.io/BioGenies/imputomics:docker_test
docker push ghcr.io/BioGenies/imputomics:docker_test
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ RUN [ $(which google-chrome) ] || curl -fsSL -o /tmp/google-chrome.deb https://d
RUN [ $(which google-chrome) ] || DEBIAN_FRONTEND='noninteractive' apt-get install -y /tmp/google-chrome.deb
RUN apt-get install -y libcurl4-openssl-dev libssl-dev libicu-dev && rm -rf /var/lib/apt/lists/*
RUN mkdir -p /usr/local/lib/R/etc/ /usr/lib/R/etc/
RUN echo "options(renv.config.pak.enabled = FALSE, repos = c(CRAN = 'https://cran.rstudio.com/'), download.file.method = 'libcurl', Ncpus = 4)" | tee /usr/local/lib/R/etc/Rprofile.site | tee /usr/lib/R/etc/Rprofile.site
RUN echo "options(renv.config.pak.enabled = FALSE, repos = c(CRAN = 'https://cloud.r-project.org'), download.file.method = 'libcurl', Ncpus = 4)" | tee /usr/local/lib/R/etc/Rprofile.site | tee /usr/lib/R/etc/Rprofile.site
RUN R -e 'install.packages("remotes")'
RUN R -e 'remotes::install_version("renv", version = "0.17.0")'
RUN R -e 'remotes::install_version("BiocManager", version = "1.30.20")'
COPY renv.lock renv.lock
RUN R -e 'renv::restore()'

0 comments on commit e4a4f1e

Please sign in to comment.