diff --git a/Dockerfile b/Dockerfile index 79a08cdc21eae72add7802c85ec13d7d8e6b0ba6..f274d6ddfcfb93038d43da695ccb28b4ade4ee0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN apt-get update && \ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \ echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \ apt-get update && \ - apt-get install -y build-essential yarn python-minimal zip libtool autoconf automake && \ + apt-get install -y build-essential yarn python-minimal zip libtool autoconf automake cmake && \ apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # Create compiling user @@ -22,11 +22,7 @@ RUN mkdir /duniter && \ adduser --system --group --quiet --shell /bin/bash --home /duniter duniter && \ chown duniter:duniter /duniter WORKDIR /duniter - -# Install Yarn ADD . /duniter -RUN chmod +x install_yarn.sh -RUN ./install_yarn.sh # Load NVM ENV NVM_DIR "/duniter/.nvm"