Skip to content

Commit a734b5c

Browse files
author
Dave Conway-Jones
committed
add unsafe-perm flag to build
1 parent 3dacfcf commit a734b5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.docker/Dockerfile.alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ FROM base AS build
4040
# Install Build tools
4141
RUN apk add --no-cache --virtual buildtools build-base linux-headers udev python
4242

43-
RUN npm install --only=production
43+
RUN npm install --unsafe-perm --no-update-notifier --only=production
4444
RUN /tmp/remove_native_gpio.sh
4545
RUN cp -R node_modules prod_node_modules
4646

docker-custom/Dockerfile.custom

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ FROM base AS build
3636
# Install Build tools
3737
RUN apk add --no-cache --virtual buildtools build-base linux-headers udev python
3838

39-
RUN npm install --only=production
39+
RUN npm install --unsafe-perm --no-update-notifier --only=production
4040
RUN /tmp/remove_native_gpio.sh
4141
RUN cp -R node_modules prod_node_modules
4242

0 commit comments

Comments
 (0)