Skip to content
Snippets Groups Projects
Commit 3c33218f authored by Éloïs's avatar Éloïs
Browse files

Remove yarn and add cmake

parent e72d27d7
Branches
Tags v0.1.21+94
No related merge requests found
Pipeline #9982 passed
...@@ -14,7 +14,7 @@ RUN apt-get update && \ ...@@ -14,7 +14,7 @@ RUN apt-get update && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \ 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 && \ echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
apt-get update && \ 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/* apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Create compiling user # Create compiling user
...@@ -22,11 +22,7 @@ RUN mkdir /duniter && \ ...@@ -22,11 +22,7 @@ RUN mkdir /duniter && \
adduser --system --group --quiet --shell /bin/bash --home /duniter duniter && \ adduser --system --group --quiet --shell /bin/bash --home /duniter duniter && \
chown duniter:duniter /duniter chown duniter:duniter /duniter
WORKDIR /duniter WORKDIR /duniter
# Install Yarn
ADD . /duniter ADD . /duniter
RUN chmod +x install_yarn.sh
RUN ./install_yarn.sh
# Load NVM # Load NVM
ENV NVM_DIR "/duniter/.nvm" ENV NVM_DIR "/duniter/.nvm"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment