mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 10:45:00 +00:00
feat: Install all npm dependencies in Dockerfile
This commit is contained in:
parent
614d9c9b0d
commit
422fd11f4d
1 changed files with 11 additions and 2 deletions
|
@ -15,11 +15,20 @@ RUN apt-get update && apt-get install -y \
|
||||||
# Make python3.11 the default python3
|
# Make python3.11 the default python3
|
||||||
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
|
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
|
||||||
|
|
||||||
# Install Node.js and Jest
|
# Install Node.js and dependencies
|
||||||
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
||||||
apt-get install -y nodejs && \
|
apt-get install -y nodejs && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
npm install -g jest
|
npm install -g \
|
||||||
|
jest \
|
||||||
|
@babel/core@7.25.2 \
|
||||||
|
@exercism/babel-preset-javascript@0.2.1 \
|
||||||
|
@exercism/eslint-config-javascript@0.6.0 \
|
||||||
|
@types/jest@29.5.12 \
|
||||||
|
@types/node@20.12.12 \
|
||||||
|
babel-jest@29.6.4 \
|
||||||
|
core-js@3.37.1 \
|
||||||
|
eslint@8.49.0
|
||||||
|
|
||||||
# Install Go
|
# Install Go
|
||||||
RUN curl -OL https://golang.org/dl/go1.21.5.linux-amd64.tar.gz && \
|
RUN curl -OL https://golang.org/dl/go1.21.5.linux-amd64.tar.gz && \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue