datashield / docker-rock

Rock R server with DataSHIELD packages inside
0 stars 4 forks source link

Make ROCK_LIB owned earlier #7

Closed clemens-tolboom closed 6 months ago

clemens-tolboom commented 6 months ago

I assume this will skip the last layer reducing 2GB ... not sure so let's see

I wonder what would happen when we make the $ROCK_LIB owned early and make it sticky which should mimic this latter last step

RUN /bin/sh -c chown -R rock $ROCK_LIB # buildkit
ymarcon commented 6 months ago

I think the rule was last because the R packages installation was setting the ownership to root instead of the rock user. You need to test that otherwise the rock server will be broken.