Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
** @dfinity/ninja-devs @dfinity/sdk
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,17 @@ jobs:
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push Docker image
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
context: slim
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down
1 change: 0 additions & 1 deletion CODEOWNERS

This file was deleted.

7 changes: 3 additions & 4 deletions slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM --platform=linux/amd64 rust:1.89-slim-bookworm
FROM rust:1.89-slim-bookworm

ENV NVM_DIR=/root/.nvm
ENV NVM_VERSION=v0.40.1
ENV NODE_VERSION=22.10.0
ENV IC_MOPS_VERSION=1.11.1
ENV CANDID_EXTRACTOR_VERSION=0.1.6

RUN apt -yq update
RUN apt -yqq install --no-install-recommends curl ca-certificates libunwind-dev git
Expand All @@ -26,9 +27,7 @@ ENV PATH="/root/.local/share/dfx/bin:$PATH"
RUN rustup target add wasm32-unknown-unknown

# Install candid-extractor
RUN curl -fsSL https://github.com/dfinity/candid-extractor/releases/download/0.1.6/candid-extractor-x86_64-unknown-linux-gnu.tar.gz -o candid-extractor.tar.gz
RUN tar -xvf candid-extractor.tar.gz && rm candid-extractor.tar.gz
RUN mv candid-extractor /usr/local/bin
RUN cargo install candid-extractor --version ${CANDID_EXTRACTOR_VERSION}

# Clean apt
RUN apt-get autoremove && apt-get clean