Skip to content

Commit

Permalink
chore: updating devcontainer (#656)
Browse files Browse the repository at this point in the history
  • Loading branch information
sekwah41 authored Jul 22, 2024
1 parent 9c5cbd6 commit 4c348e4
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Use an official Ubuntu base image
FROM ubuntu:22.04

RUN apt-get update && apt-get install -y \
curl \
git \
libwebkit2gtk-4.1 \
build-essential \
wget \
file \
libssl-dev \
libgtk-3-dev \
libayatana-appindicator3-dev \
librsvg2-dev \
javascriptcoregtk-4.1 \
python3 \
python3-pip



# Install Rust using rustup
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

# Install NVM and Node.js
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash \
&& export NVM_DIR="$HOME/.nvm" \
&& [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" \
&& [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" \
&& nvm install 18 \
&& npm install -g yarn

RUN pip install pre-commit
7 changes: 6 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
{ "image": "ubuntu:22.04" }
{
"name": "Pomatez Dev",
"build": {
"dockerfile": "Dockerfile"
}
}

0 comments on commit 4c348e4

Please sign in to comment.