Skip to content

Commit

Permalink
add build essential to dev container
Browse files Browse the repository at this point in the history
  • Loading branch information
jac18281828 committed Aug 12, 2023
1 parent b331281 commit 8a2824d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.9.44 (2023-08-11)

* add build-essential to dev container

# 0.9.43 (2023-08-02)

* go lang 1.20.7 - security update
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ ARG TARGETARCH
RUN export DEBIAN_FRONTEND=noninteractive && \
apt update && \
apt install -y -q --no-install-recommends \
libz3-dev z3 \
libz3-dev z3 build-essential \
ca-certificates apt-transport-https \
sudo ripgrep procps \
python3 python3-pip python3-dev && \
Expand Down
28 changes: 23 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
# Foundry Development Container
# Foundry Development Container for Docker and VS Code

This development container for Visual Studio Code is a pre-configured and isolated environment that allows you to develop, build, and test your software projects using consistent tools and settings. This development container can be use in Docker to create a standardized and reproducible environment for your development workflow. This is useful when working on projects that require specific versions of programming languages, libraries, tools, and other dependencies. By using this development container, you can ensure that all members of your development team work with the same development environment, reducing issues related to differences in configurations and dependencies.

Key benefits of using development containers in Visual Studio Code include:

1. **Consistency**: Development containers ensure that everyone on the team is using the same environment, reducing "works on my machine" issues.

2. **Isolation**: Containers provide isolation from the host system, preventing conflicts between different software versions.

3. **Reproducibility**: Containers can be versioned, making it easy to replicate the exact development environment in different stages of the project.

4. **Portability**: Development containers can be shared and run on different machines, making it easier to onboard new team members or work across multiple devices.

5. **Dependency Management**: Containers encapsulate dependencies, eliminating the need to install and manage them directly on the host system.

To use this development container in Visual Studio Code, specify the `Dockerfile` as defined below and reopen in the Remote Containers module.

# Supported Toolchain

Everything needed to develop smart contracts with Ethereum and [Foundry](https://github.com/foundry-rs/foundry)

Expand Down Expand Up @@ -28,10 +46,6 @@ SOLC: 0.8.20

Then it can be used normally, as below.

### Architecture
* linux/amd64
* linux/arm64

## Example Dockerfile

```
Expand All @@ -42,3 +56,7 @@ RUN ~mr/.cargo/bin/forge build --sizes
CMD ~mr/.cargo/bin/forge test -vvv
```

### Architecture
* linux/amd64
* linux/arm64

0 comments on commit 8a2824d

Please sign in to comment.