Reduce Docker image size and add npm env to resolve npm projects' dependencies#59
Reduce Docker image size and add npm env to resolve npm projects' dependencies#59wu-sheng merged 2 commits intoapache:mainfrom
Conversation
|
@zooltd what's the size for now? |
206.37 MB |
Nice 👍🏻 |
|
Run the docker container to resolve licenses on https://github.com/apache/skywalking-eyes and https://github.com/apache/skywalking-nodejs simultaneously , the output is shown below: root@Samaritan:~/test# docker run -it --rm -v $(pwd):/github/workspace license-eye d r
env: can't execute 'bash': No such file or directory npm ERR! A complete log of this run can be found in:
ERROR failed to identify the licenses of following packages (7): |
kezhenxu94
left a comment
There was a problem hiding this comment.
Tested, works well. Nice work! 🙇🏻
@zooltd What is this for? It seems unrelated to this PR. |
Oh, I was only trying to test the updated Docker image. |
we don't need the entire golang development environment, instead, we only need the golang CLI tool to help us resolve packages.