-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(VER-2673): Create Azle image (#4)
- Creates an Azle docker image on a new release in addition to the rust/motoko image - Bumps the `dfx` and PocketIC versions
- Loading branch information
Showing
4 changed files
with
63 additions
and
13 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
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
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 |
---|---|---|
@@ -1,28 +1,31 @@ | ||
# ICP Developer Environment | ||
|
||
This repo contains a Docker image that is used for setting up a remote, hybrid or local development environments for new developers on the IC. | ||
This repo contains Docker images that are used for setting up a remote, hybrid or local development environments for new developers on the Internet Computer. | ||
|
||
## Usage | ||
This container image can be used as a base for creating a dev container environment that targets ICP development. | ||
These container images can be used as a base for creating a dev container environment that targets ICP development. | ||
Take a look at the repositories below to see dev containers in action: | ||
- [ICP Hello World Motoko](https://github.com/dfinity/icp-hello-world-motoko) | ||
- [ICP Hello World Rust](https://github.com/dfinity/icp-hello-world-rust) | ||
- [ICP Azle 201 from dacadeorg](https://github.com/dacadeorg/icp-azle-201) | ||
- [ICP Message Board Contract from dacadeorg](https://github.com/dacadeorg/icp-message-board-contract) | ||
|
||
### Packages and Releases | ||
On the right side, you will find new releases and the latest packages. | ||
You can download the Docker image with | ||
You can download the Docker image for Rust/Motoko with | ||
|
||
```bash | ||
docker pull ghcr.io/dfinity/icp-dev-env:latest | ||
``` | ||
|
||
or | ||
or the one for [Azle](https://github.com/demergent-labs/azle) (TypeScript and JavaScript) with | ||
|
||
```bash | ||
docker pull ghcr.io/dfinity/icp-dev-env:<version> | ||
docker pull ghcr.io/dfinity/icp-dev-env-azle:latest | ||
``` | ||
for a specific version. | ||
|
||
To download a specific version, add `:<version>` at the end instead of `:latest`. | ||
|
||
## Creating a new Release | ||
To release a new version, create a new tag with the corresponding version number. | ||
The CI pipeline will automatically build and push the new image to the GitHub Container Registry (ghcr.io). | ||
To release a new version of both images, create a new tag with the corresponding version number. | ||
The CI pipeline will automatically build and push the new images to the GitHub Container Registry (ghcr.io). |
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,11 @@ | ||
FROM --platform=linux/amd64 mcr.microsoft.com/devcontainers/typescript-node:dev-20-bookworm | ||
|
||
ENV DFX_VERSION=0.17.0 | ||
|
||
# Install a basic environment needed for our build tools | ||
RUN apt -yq update && \ | ||
apt -yqq install --no-install-recommends curl ca-certificates \ | ||
build-essential pkg-config libssl-dev llvm-dev liblmdb-dev clang cmake rsync | ||
|
||
# Install dfx | ||
RUN sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)" |