Skip to content

Commit

Permalink
Add PocketIC server to the docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
yanliu38 committed Aug 13, 2024
1 parent 274adf9 commit 134a335
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ RUN rustup toolchain install nightly \

# Install cargo-make
RUN cargo install cargo-make

# Install pocket-ic-server
RUN curl -L https://github.com/dfinity/pocketic/releases/download/5.0.0/pocket-ic-x86_64-linux.gz -o - | gzip -d - > /usr/local/bin/pocket-ic && chmod +x /usr/local/bin/pocket-ic

ENV POCKET_IC_BIN=/usr/local/bin/pocket-ic
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/${{ github.repository }}/ci-image@sha256:b8f3e9f04920bb0a1db513133fb48fffe97e46eb7b4d273e2374029174fec0c3
image: ghcr.io/${{ github.repository }}/ci-image@sha256:9da24ac0528e3a96707ec4973bf441a08fb3fa6a1f018437394f5dee91cf02e4

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 134a335

Please sign in to comment.