Skip to content

Commit

Permalink
Merge pull request #43 from canonical/chore/upgrade-node-version
Browse files Browse the repository at this point in the history
chore: bump node from 20 to 21
  • Loading branch information
abbiesims authored Jan 9, 2025
2 parents 5964a9b + 2e0014b commit 84f32fe
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ RUN apt-get update && \
apt-get install --yes \
git curl wget build-essential python3-dev python3-pip

# Set up NodeJS 20 repository
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
# Set up Node.js 21 repository
RUN curl -fsSL https://deb.nodesource.com/setup_21.x | bash -

# Install Node.js and dependencies
RUN apt-get install --yes nodejs haproxy libwayland-client0

# Install a compatible npm version
RUN npm install --location=global npm@10

# Install common dependencies used in projects
RUN apt-get install --yes \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This project is a docker image for developing Node.js and Python web projects. I

- Based on ubuntu:focal
- Python 3.10
- Node 20 LTS
- Node 21 LTS
- Yarn
- dotrun-docker

Expand Down
2 changes: 1 addition & 1 deletion src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name="dotrun-docker",
version="1.1.0",
version="1.2.0",
packages=["dotrun_docker"],
install_requires=[
"ipdb",
Expand Down

0 comments on commit 84f32fe

Please # to comment.