Skip to content

Commit f8c18c7

Browse files
committed
feat: compromise security 'chmod -R 777 /root' for the dev container
This fixes TinyTeX trying to create a directory for some fonts and dying when trying to generate a risk assesment PDF
1 parent 68a6202 commit f8c18c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ RUN wget -qO - 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg
55
echo "deb [arch=all,$(dpkg --print-architecture) signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $VERSION_CODENAME" | tee /etc/apt/sources.list.d/prebuilt-mpr.list
66
RUN apt-get update && apt-get install -y just sudo
77

8-
RUN chmod 777 /root/.TinyTeX && chmod 711 /root
8+
RUN chmod -R 777 /root
99
RUN mkdir -p /home/dev && chmod 777 /home/dev
1010
ENTRYPOINT /bin/bash

0 commit comments

Comments
 (0)