Skip to content

Commit

Permalink
chore(sdk): move XGENEXT2_VERSION to docker-bake.hcl
Browse files Browse the repository at this point in the history
  • Loading branch information
endersonmaia committed May 2, 2024
1 parent cc1fc3c commit 0f9bc46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/sdk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ARG SERVER_MANAGER_ORG
ARG SERVER_MANAGER_VERSION
ARG CARTESI_IMAGE_KERNEL_VERSION
ARG LINUX_KERNEL_VERSION
ARG XGENEXT2_VERSION

FROM ${BASE_IMAGE} as builder

Expand Down Expand Up @@ -58,6 +59,7 @@ ARG SERVER_MANAGER_ORG
ARG SERVER_MANAGER_VERSION
ARG CARTESI_IMAGE_KERNEL_VERSION
ARG LINUX_KERNEL_VERSION
ARG XGENEXT2_VERSION

USER root
ARG DEBIAN_FRONTEND=noninteractive
Expand All @@ -80,7 +82,6 @@ update-locale LANG=en_US.UTF-8
EOF

# Install dpkg release of xgenext2fs
ARG XGENEXT2_VERSION=1.5.5
RUN <<EOF
ARCH=$(dpkg --print-architecture)
curl -sSL https://github.com/cartesi/genext2fs/releases/download/v${XGENEXT2_VERSION}/xgenext2fs_${ARCH}.deb \
Expand Down
1 change: 1 addition & 0 deletions packages/sdk/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ target "default" {
CARTESI_IMAGE_KERNEL_VERSION = "0.19.1"
DEVNET_VERSION = "1.6.0"
LINUX_KERNEL_VERSION = "6.5.9-ctsi-1-v0.19.1"
XGENEXT2_VERSION = "1.5.5"
}
}

0 comments on commit 0f9bc46

Please sign in to comment.