Skip to content

Commit

Permalink
Update node dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Marwes committed Oct 4, 2021
1 parent 4aa879d commit 2177b4e
Show file tree
Hide file tree
Showing 4 changed files with 6,103 additions and 4,310 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
FROM ekidd/rust-musl-builder:1.47.0 as dependencies
FROM ekidd/rust-musl-builder:1.51.0 as dependencies

WORKDIR /usr/src/try_gluon

USER root

RUN apt-get update && apt-get install -y curl gnupg make g++ git pkg-config
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
apt-get install -y nodejs
RUN apt-get update && apt-get install -y curl gnupg make g++ git pkg-config libgnutls30
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get update && apt-get install -y nodejs

RUN curl -L https://github.com/rust-lang-nursery/mdBook/releases/download/v0.1.2/mdbook-v0.1.2-x86_64-unknown-linux-gnu.tar.gz | tar -xvz && \
mv mdbook /usr/local/bin/

RUN rustup default 1.44.0 && rustup target add x86_64-unknown-linux-musl
RUN rustup default 1.51.0 && rustup target add x86_64-unknown-linux-musl

COPY package.json package-lock.json ./
RUN npm ci
Expand Down
Loading

0 comments on commit 2177b4e

Please sign in to comment.