You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Renaming directories: Calling rename(2) for a directory is allowed only when both the source and the destination path are on the top layer. Otherwise, it returns EXDEV error (“cross-device link not permitted”). Your application needs to be designed to handle EXDEV and fall back to a “copy and unlink” strategy.
You should be able to reproduce the issue by cloning the node-sqlite3 repo, dropping the following into tools/BinaryBuilder.Dockerfile:
ARG NODE_VERSION=16
ARG VARIANT=bullseye
FROM node:$NODE_VERSION-$VARIANT
WORKDIR /usr/src/build
COPY . .
RUN npm install --ignore-scripts
RUN npx node-pre-gyp configure
RUN npx node-pre-gyp build
RUN npm run test
RUN npx node-pre-gyp package
CMD ["sh"]
Hey! 👋🏻 I'm working on getting Linux ARM builds for https://github.com/TryGhost/node-sqlite3 but I'm running into an issue when using
node-pre-gyp
in Docker.According to https://docs.docker.com/storage/storagedriver/overlayfs-driver/#modifying-files-or-directories:
You should be able to reproduce the issue by cloning the
node-sqlite3
repo, dropping the following intotools/BinaryBuilder.Dockerfile
:and then running
docker buildx build --file ./tools/BinaryBuilder.Dockerfile --progress plain --no-cache .
The text was updated successfully, but these errors were encountered: