Skip to content

Commit

Permalink
install R
Browse files Browse the repository at this point in the history
  • Loading branch information
rongxin-liu committed May 29, 2024
1 parent d4167ae commit 27d8bc6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
push: true
tags: cs50/check:${{ github.sha }},cs50/check:latest
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
FROM cs50/cli:amd64
FROM cs50/cli

USER root

ARG DEBIANFRONTEND=noninteractive

# Remove customized R from cs50/cli
RUN rm -rf /opt/cs50/bin/R

RUN apt-get update -qq && apt-get install -y jq cmake

RUN apt-get update -qq && apt-get install -y jq cmake pkg-config libhdf5-dev r-base


# Install additional Python packages
Expand Down

0 comments on commit 27d8bc6

Please sign in to comment.