diff --git a/Dockerfile b/Dockerfile index 6bad269..ceeb171 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,12 @@ RUN \ echo "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main" >> /etc/apt/sources.list && \ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key > llvm_key && apt-key add llvm_key +# add the latest node repository to apt sources (npm in the standard bionic apt +# repostitory depends on libssl1.0-dev, but emumba depends on libssl-dev, so a +# the latest npm must be installed to avoid this dependency conflict +RUN \ + wget -O - https://deb.nodesource.com/setup_16.x > install_node.sh && chmod +x install_node.sh && ./install_node.sh + RUN \ apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y \ @@ -67,7 +73,6 @@ RUN \ tcpdump \ valgrind \ tzdata \ - npm \ nodejs \ rsync \ datamash \ @@ -139,7 +144,6 @@ RUN \ # install python packages RUN pip install pybars3 paramiko mkdocs RUN pip3 install paramiko cryptography -RUN npm install -g npx # fix locale so we can run tmux RUN sed -i 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen