Update DockerFile to avoid error 'npm ERR! Tracker "idealTree" alread…'#38
Open
wikijm wants to merge 1 commit intogchq:masterfrom
Open
Update DockerFile to avoid error 'npm ERR! Tracker "idealTree" alread…'#38wikijm wants to merge 1 commit intogchq:masterfrom
wikijm wants to merge 1 commit intogchq:masterfrom
Conversation
…y exists' Example of a build process with an error: docker build -t cyberchef-server . Sending build context to Docker daemon 346.6kB Step 1/8 : FROM node:alpine3.10 ---> fd1f8547e2ff Step 2/8 : LABEL author "Wes Lambert, wlambertts@gmail.com" ---> Using cache ---> f86a769f4bbd Step 3/8 : LABEL description="Dockerised version of Cyberchef server (https://github.com/gchq/CyberChef-server)" ---> Using cache ---> 0412b66fc5a4 Step 4/8 : LABEL copyright "Crown Copyright 2020" ---> Using cache ---> 71bd0a07c39e Step 5/8 : LABEL license "Apache-2.0" ---> Using cache ---> 6eecd557a052 Step 6/8 : COPY . /CyberChef-server ---> 2fbacc2f39e1 Step 7/8 : RUN npm cache clean --force && npm install /CyberChef-server ---> Running in d5758748b069 npm WARN using --force Recommended protections disabled. npm ERR! Tracker "idealTree" already exists npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2021-10-18T16_19_02_622Z-debug.log The command '/bin/sh -c npm cache clean --force && npm install /CyberChef-server' returned a non-zero code: 1
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Example of a build process with an error:
docker build -t cyberchef-server .
Sending build context to Docker daemon 346.6kB
Step 1/8 : FROM node:alpine3.10
---> fd1f8547e2ff
Step 2/8 : LABEL author "Wes Lambert, wlambertts@gmail.com"
---> Using cache
---> f86a769f4bbd
Step 3/8 : LABEL description="Dockerised version of Cyberchef server (https://github.com/gchq/CyberChef-server)"
---> Using cache
---> 0412b66fc5a4
Step 4/8 : LABEL copyright "Crown Copyright 2020"
---> Using cache
---> 71bd0a07c39e
Step 5/8 : LABEL license "Apache-2.0"
---> Using cache
---> 6eecd557a052
Step 6/8 : COPY . /CyberChef-server
---> 2fbacc2f39e1
Step 7/8 : RUN npm cache clean --force && npm install /CyberChef-server
---> Running in d5758748b069
npm WARN using --force Recommended protections disabled.
npm ERR! Tracker "idealTree" already exists
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-10-18T16_19_02_622Z-debug.log
The command '/bin/sh -c npm cache clean --force && npm install /CyberChef-server' returned a non-zero code: 1