LoginSignup
14
4

More than 5 years have passed since last update.

docker-cmpose buildでnode.jsのインストール時にエラー

Posted at

gnupgが必要らしい

error
d -   && curl -sL https://deb.nodesource.com/setup_9.x | bash -   && apt-get update   && apt-get install -y nodejs
 ---> Running in 6c9ae273f351
E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

Dockerfileに以下を追記

Dokerfile
RUN apt-get update \
  && apt-get install -my wget gnupg
14
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
4