1 FROM 4tqrgqe5yrgfd/figma-linux-docker-image:latest
10 WORKDIR /usr/src/figma-linux
12 COPY ./config ./config
14 COPY ./resources ./resources
15 COPY ./scripts ./scripts
17 COPY ["./*.json", "./.prettierrc", "./"]
19 RUN addgroup --gid $GROUP_ID user && \
20 adduser --disabled-password --gecos '' --uid $USER_ID --gid $GROUP_ID user && \
21 chown ${USER_ID}:${GROUP_ID} /usr/src -R && \
22 chown ${USER_ID}:${GROUP_ID} /tmp -R && \
23 chown ${USER_ID}:${GROUP_ID} /root -R && \
24 chmod 766 /tmp -R && \
26 chmod 766 /root -R && \
27 chmod 766 /usr/src/ -R && \
28 chmod a+x ./resources/AppRun
33 echo $(node -e "const package = require('./package.json'); console.log(package.version);") > ./build/installers/version