-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/EthSign/sign-protocol-evm
- Loading branch information
Showing
10 changed files
with
1,157 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
FROM ubuntu:24.04 | ||
|
||
SHELL ["/bin/bash", "-l", "-c"] | ||
|
||
# Install essential packages | ||
RUN apt-get update && apt-get install -y \ | ||
curl \ | ||
git \ | ||
build-essential \ | ||
procps \ | ||
file \ | ||
unzip \ | ||
sudo \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Create sudoers directory and non-root user | ||
RUN mkdir -p /etc/sudoers.d && \ | ||
useradd -m -s /bin/bash vscode && \ | ||
echo "vscode ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/vscode | ||
|
||
# Switch to non-root user | ||
USER vscode | ||
WORKDIR /home/vscode | ||
|
||
# Install Node | ||
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - && \ | ||
sudo apt-get install -y nodejs | ||
|
||
# Install Bun | ||
RUN curl -fsSL https://bun.sh/install | bash | ||
ENV PATH="/home/vscode/.bun/bin:${PATH}" | ||
|
||
# Install Foundry | ||
RUN curl -L https://foundry.paradigm.xyz | bash | ||
RUN /home/vscode/.foundry/bin/foundryup -i nightly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "EthSign: Solidity", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"juanblanco.solidity", | ||
"esbenp.prettier-vscode", | ||
"dbaeumer.vscode-eslint", | ||
"adpyke.codesnap" | ||
] | ||
} | ||
}, | ||
"remoteUser": "vscode", | ||
"features": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.