Spoof home directory in dockerfiles to be able to build with package bbm
This commit is contained in:
@@ -7,3 +7,11 @@ RUN pacman -Sy archlinux-keyring --noconfirm && pacman -Su --noconfirm
|
||||
RUN pacman -Syu --noconfirm
|
||||
RUN pacman -S make perl texlive texlive-binextra texlive-pictures --noconfirm
|
||||
RUN pacman -S texlive-publishers texlive-mathscience texlive-fontsextra texlive-latexextra --noconfirm
|
||||
|
||||
# The 'bbm' package insists on generating stuff in the home directory. In
|
||||
# order to guarantee access to the home directory no matter the user the
|
||||
# docker container is run with, create a temporary one anyone can write to
|
||||
RUN mkdir /tmp/home
|
||||
RUN chmod -R 777 /tmp/home
|
||||
ENV HOME=/tmp/home
|
||||
|
||||
|
||||
Reference in New Issue
Block a user