File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11Security :
2- AccessibleDirectories : [ "/work/c", "/usr/include" ]
2+ AccessibleDirectories : [ "/work/c", "/usr/include", "/usr/lib/clang" ]
33
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ COPY run.sh .
1414ADD compile_flags.txt /etc/clangd/compile_flags.txt
1515ADD .clang-tidy /work/.clang-tidy
1616ADD .clangd /work/.clangd
17- RUN cp -alf ./clang/includes /work/c && cp -alf clang/wasi-sdk/share/wasi-sysroot/include /usr && mkdir -p /usr/include /clang/15.0.0 && cp -alf clang/wasi-sdk/lib/clang/15.0.0/include /usr/include /clang/15.0.0
17+ RUN cp -alf ./clang/includes /work/c && cp -alf clang/wasi-sdk/share/wasi-sysroot/include /usr && mkdir -p /usr/lib /clang/15.0.0 && cp -alf clang/wasi-sdk/lib/clang/15.0.0/include /usr/lib /clang/15.0.0
1818RUN addgroup -S appgroup && adduser -S appuser -G appgroup -h /app && chown appuser:appgroup /app
1919RUN yarn && yarn build
2020EXPOSE $PORT
Original file line number Diff line number Diff line change 11-xc
2- -isystem/usr/include /clang/15.0.0/include
2+ -isystem/usr/lib /clang/15.0.0/include
33-Wno-pointer-to-int-cast
44-Wno-int-conversion
55-Werror=implicit-function-declaration
You can’t perform that action at this time.
0 commit comments