We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to host the navigator locally with the docker image. When i try to build the docker image i get this error.
root@adelphi:/opt# git clone https://github.com/mitre-attack/attack-navigator.git Cloning into 'attack-navigator'... remote: Enumerating objects: 14198, done. remote: Counting objects: 100% (2603/2603), done. remote: Compressing objects: 100% (683/683), done. remote: Total 14198 (delta 2004), reused 2464 (delta 1919), pack-reused 11595 Receiving objects: 100% (14198/14198), 40.19 MiB | 9.00 MiB/s, done. Resolving deltas: 100% (11195/11195), done. root@adelphi:/opt# ls attack-navigator containerd root@adelphi:/opt# cd attack-navigator/ root@adelphi:/opt/attack-navigator# ls CHANGELOG.md CONTRIBUTING.md Dockerfile LICENSE.txt NOTICE.txt README.md USAGE.md layers nav-app root@adelphi:/opt/attack-navigator# docker build -t atk-nav . [+] Building 0.8s (7/14) => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.03kB 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 54B 0.0s => [internal] load metadata for docker.io/library/node:18 0.6s => CANCELED [ 1/10] FROM docker.io/library/node:18@sha256:7ce8b205d15e30fd395e5fa4000bcdf595fcff3f434fe75822e54e82a5f5cf82 0.1s => => resolve docker.io/library/node:18@sha256:7ce8b205d15e30fd395e5fa4000bcdf595fcff3f434fe75822e54e82a5f5cf82 0.0s => => sha256:13baa2029dde87a21b87127168a0fb50a007c07da6b5adc8864e1fe1376c86ff 0B / 24.05MB 0.1s => => sha256:7ce8b205d15e30fd395e5fa4000bcdf595fcff3f434fe75822e54e82a5f5cf82 1.21kB / 1.21kB 0.0s => => sha256:117e3f0204875685962a88ee77274eb954801b660e8b9e72a5b678a77dd6d0c0 2.00kB / 2.00kB 0.0s => => sha256:e1b0a66a57dc941a3d03d3bc859652fbc0084e553e202c996214e4b8edd82524 7.53kB / 7.53kB 0.0s => => sha256:8457fd5474e70835e4482983a5662355d892d5f6f0f90a27a8e9f009997e8196 0B / 49.58MB 0.1s => => sha256:325c5bf4c2f26c11380501bec4b6eef8a3ea35b554aa1b222cbcd1e1fe11ae1d 0B / 64.13MB 0.1s => [internal] load build context 0.1s => => transferring context: 5.93MB 0.1s => CACHED [ 2/10] WORKDIR /src/nav-app 0.0s => **ERROR [ 3/10] COPY nav-app/package*.json nav-app/patch-webpack.js .** 0.0s ------ > [ 3/10] COPY nav-app/package*.json nav-app/patch-webpack.js .: ------ Dockerfile:9 -------------------- 7 | # install node packages - cache for faster future builds 8 | WORKDIR /src/nav-app 9 | >>> COPY nav-app/package*.json nav-app/patch-webpack.js . 10 | # install packages and build 11 | RUN npm install --unsafe-perm --legacy-peer-deps -------------------- ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref moby::v25lrz5anw6r7ib53jyvll3qi: "/nav-app/patch-webpack.js": not found root@adelphi:/opt/attack-navigator# ls -altr total 176 drwxr-xr-x 4 root root 4096 Nov 2 19:58 .. -rw-r--r-- 1 root root 43667 Nov 2 19:58 USAGE.md -rwxr-xr-x 1 root root 17897 Nov 2 19:58 README.md -rwxr-xr-x 1 root root 745 Nov 2 19:58 NOTICE.txt -rwxr-xr-x 1 root root 11357 Nov 2 19:58 LICENSE.txt -rw-r--r-- 1 root root 993 Nov 2 19:58 Dockerfile -rwxr-xr-x 1 root root 1488 Nov 2 19:58 CONTRIBUTING.md -rw-r--r-- 1 root root 53951 Nov 2 19:58 CHANGELOG.md -rw-r--r-- 1 root root 46 Nov 2 19:58 .markdownlint.yml -rw-r--r-- 1 root root 9 Nov 2 19:58 .gitignore -rw-r--r-- 1 root root 14 Nov 2 19:58 .dockerignore drwxr-xr-x 4 root root 4096 Nov 2 19:58 layers drwxr-xr-x 5 root root 4096 Nov 2 19:58 . drwxr-xr-x 4 root root 4096 Nov 2 19:58 nav-app drwxr-xr-x 8 root root 4096 Nov 2 19:58 .git root@adelphi:/opt/attack-navigator# cd nav-app root@adelphi:/opt/attack-navigator/nav-app# ls angular.json e2e karma.conf.js package-lock.json package.json protractor.conf.js src tsconfig.json tslint.json root@adelphi:/opt/attack-navigator/nav-app# ls -altr total 1240 -rwxr-xr-x 1 root root 1657 Nov 2 19:58 karma.conf.js drwxr-xr-x 2 root root 4096 Nov 2 19:58 e2e -rw-r--r-- 1 root root 6144 Nov 2 19:58 angular.json -rw-r--r-- 1 root root 216 Nov 2 19:58 .prettierrc -rw-r--r-- 1 root root 72 Nov 2 19:58 .prettierignore -rwxr-xr-x 1 root root 532 Nov 2 19:58 .gitignore -rwxr-xr-x 1 root root 245 Nov 2 19:58 .editorconfig drwxr-xr-x 5 root root 4096 Nov 2 19:58 .. -rwxr-xr-x 1 root root 773 Nov 2 19:58 protractor.conf.js -rw-r--r-- 1 root root 2658 Nov 2 19:58 package.json -rw-r--r-- 1 root root 1205102 Nov 2 19:58 package-lock.json -rwxr-xr-x 1 root root 2958 Nov 2 19:58 tslint.json -rwxr-xr-x 1 root root 473 Nov 2 19:58 tsconfig.json drwxr-xr-x 5 root root 4096 Nov 2 19:58 src drwxr-xr-x 4 root root 4096 Nov 2 19:58 .
7 | # install node packages - cache for faster future builds 8 | WORKDIR /src/nav-app 9 | >>> COPY nav-app/package.json nav-app/patch-webpack.js .* 10 | # install packages and build 11 | RUN npm install --unsafe-perm --legacy-peer-deps
The text was updated successfully, but these errors were encountered:
Hi @ovcrash,
Thank you for reporting this! We've addressed the issue on develop and will include it in the patch release early next week.
develop
Sorry, something went wrong.
clemiller
No branches or pull requests
I'm trying to host the navigator locally with the docker image. When i try to build the docker image i get this error.
Dockerfile:9
7 | # install node packages - cache for faster future builds
8 | WORKDIR /src/nav-app
9 | >>> COPY nav-app/package.json nav-app/patch-webpack.js .*
10 | # install packages and build
11 | RUN npm install --unsafe-perm --legacy-peer-deps
The text was updated successfully, but these errors were encountered: