dfalbel commited on
Commit
33bcf08
1 Parent(s): 52f52aa

make sure pkgconfig is installed

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -2,7 +2,9 @@ ARG RUNTIME=cpu
2
  FROM ghcr.io/mlverse/torch:${RUNTIME}-main-release-focal
3
 
4
  COPY DESCRIPTION DESCRIPTION
5
- RUN apt-get update -y && Rscript -e "try(pak::pak(lib=.Library))"
 
 
6
 
7
  # This is to make sure we don't run into permission problems in HF Spaces
8
  # see: https://huggingface.co/docs/hub/spaces-sdks-docker#permissions
 
2
  FROM ghcr.io/mlverse/torch:${RUNTIME}-main-release-focal
3
 
4
  COPY DESCRIPTION DESCRIPTION
5
+ RUN apt-get update -y && \
6
+ apt-get install -y pkg-config && \
7
+ Rscript -e "pak::pak(lib=.Library)"
8
 
9
  # This is to make sure we don't run into permission problems in HF Spaces
10
  # see: https://huggingface.co/docs/hub/spaces-sdks-docker#permissions