Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump e2fsprogs #74

Merged
merged 2 commits into from
Sep 18, 2024
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
5 changes: 5 additions & 0 deletions .changeset/ninety-countries-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/sdk": minor
---

bump e2fsprogs
17 changes: 10 additions & 7 deletions packages/sdk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ARG LINUX_KERNEL_VERSION
ARG XGENEXT2_VERSION

FROM ${BASE_IMAGE} as builder
FROM ${BASE_IMAGE} AS builder

Check warning on line 10 in packages/sdk/Dockerfile

View workflow job for this annotation

GitHub Actions / build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ${BASE_IMAGE} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

WORKDIR /usr/local/src
ARG DEBIAN_FRONTEND=noninteractive
Expand All @@ -25,14 +25,14 @@
rm -rf /var/lib/apt/lists/*
EOF

FROM builder as su-exec
FROM builder AS su-exec

# v0.2 -> f85e5bde1afef399021fbc2a99c837cf851ceafa
WORKDIR /usr/local/src
ADD https://github.com/ncopa/su-exec.git#f85e5bde1afef399021fbc2a99c837cf851ceafa /usr/local/src
RUN make

FROM builder as crane
FROM builder AS crane
ARG CRANE_VERSION=0.19.1
RUN <<EOF
set -e
Expand All @@ -53,12 +53,12 @@
RUN npm install -g @pimlico/alto@${ALTO_VERSION}

# devnet files
FROM node:slim as devnet
FROM node:slim AS devnet
ARG DEVNET_VERSION
RUN npm install -g @cartesi/devnet@${DEVNET_VERSION}

# sdk image
FROM $SERVER_MANAGER_REGISTRY/$SERVER_MANAGER_ORG/server-manager:$SERVER_MANAGER_VERSION

Check warning on line 61 in packages/sdk/Dockerfile

View workflow job for this annotation

GitHub Actions / build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG $SERVER_MANAGER_REGISTRY/$SERVER_MANAGER_ORG/server-manager:$SERVER_MANAGER_VERSION results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
ARG SERVER_MANAGER_REGISTRY
ARG SERVER_MANAGER_ORG
ARG SERVER_MANAGER_VERSION
Expand All @@ -71,6 +71,7 @@
ARG DEBIAN_FRONTEND=noninteractive
RUN <<EOF
set -e
echo 'deb http://deb.debian.org/debian bookworm-backports main' > /etc/apt/sources.list.d/backports.list
apt-get update
apt-get install -y --no-install-recommends \
ca-certificates \
Expand All @@ -83,6 +84,8 @@
squashfs-tools \
xxd \
xz-utils
apt-get install -y --no-install-recommends -t bookworm-backports \
e2fsprogs
rm -rf /var/lib/apt/lists/*

sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
Expand All @@ -105,9 +108,9 @@
npm install -g @cartesi/mock-verifying-paymaster@${PAYMASTER_VERSION}
EOF

ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL=en_US.UTF-8
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en

# download anvil pre-compiled binaries
ARG ANVIL_VERSION=e90348416c3a831ab75bb43f6fa5f0a0be4106c4
Expand Down
Loading