Skip to content

Commit

Permalink
Updating the Docker build to upgrade to use Stan 2.32.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kaybenleroll committed May 25, 2023
1 parent 8943e73 commit af9d716
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@

*.qmd
*.html
*.log
*.R

data/*
precompute/*
.git/*

stan_code/*
stan_models/*
img/*

*_cache/*
*_files/*
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ clean-models:
docker-build-image: Dockerfile
docker build -t ${IMAGE_TAG} -f Dockerfile .

docker-show-context:
docker build -f context.dockerfile -t context-image .
docker run --rm -it context-image find /tmp/build
docker rmi test:latest

docker-run:
docker run --rm -d \
-p ${RSTUDIO_PORT}:8787 \
Expand Down
2 changes: 1 addition & 1 deletion build/docker_install_user_rpkgs.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ install_cmdstan(
cpp_options = cmdstan_flags,
quiet = FALSE,
overwrite = FALSE,
version = "2.32.1"
version = "2.32.2"
)
5 changes: 5 additions & 0 deletions context.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM busybox

RUN mkdir /tmp/build/
# Add context to /tmp/build/
COPY . /tmp/build/

0 comments on commit af9d716

Please sign in to comment.