Skip to content

Commit

Permalink
Update package version and Docker tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Feb 6, 2024
1 parent 9ce57ca commit 456ab05
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: AnnotationGx
Title: AnnotationGx: A package for building, updating and querying an
annotation database for pharmaco-genomic data
Version: 0.0.5.9002
Version: 0.0.5.9100
Authors@R: c(
person("Christopher", "Eeles", role = c("aut"),
email = "[email protected]"),
Expand Down
13 changes: 12 additions & 1 deletion build/annotationGx.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,21 @@ RUN apt-get update && apt-get install -y \
# RUN R -e "BiocManager::install('data.table', update = FALSE, ask = FALSE)"

RUN install2.r --error --deps TRUE pak
# add "https://r.acidgenomics.com", BiocManager::repositories() to the list of repositories

RUN R -e "install.packages( \
pkgs = 'Cellosaurus',\
repos = c(\
'https://r.acidgenomics.com',\
BiocManager::repositories()\
),\
dependencies = TRUE\
)"

RUN R -e "pak::pkg_install('bhklab/AnnotationGx@main', ask = F)"

RUN R -e "pak::pkg_install('bhklab/AnnotationGx@main', ask = F)"

RUN R -e "pak::pak_cleanup(force=TRUE)"
RUN rm -rf /tmp/*

CMD ["R"]
4 changes: 3 additions & 1 deletion build/buildimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

export DOCKER_REPO="jjjermiah"
export DOCKER_IMAGE_NAME="annotationgx-r"
export DOCKER_TAG="0.1"
export DOCKER_TAG="0.1.1"

docker build -t $DOCKER_REPO/$DOCKER_IMAGE_NAME:$DOCKER_TAG -f build/annotationGx.Dockerfile .

# then push to dockerhub
docker push $DOCKER_REPO/$DOCKER_IMAGE_NAME:$DOCKER_TAG

0 comments on commit 456ab05

Please sign in to comment.