Ensure we can build the node modules on ARM.
parent
2d537b6909
commit
832b8fc038
|
@ -44,7 +44,8 @@ RUN rm -rf /pgadmin4/web/*.log \
|
|||
WORKDIR /pgadmin4/web
|
||||
|
||||
# Build the JS vendor code in the app-builder, and then remove the vendor source.
|
||||
RUN yarn install && \
|
||||
RUN export CPPFLAGS="-DPNG_ARM_NEON_OPT=0" && \
|
||||
yarn install && \
|
||||
yarn run bundle && \
|
||||
rm -rf node_modules \
|
||||
yarn.lock \
|
||||
|
|
Loading…
Reference in New Issue