build: Move `ulimit` flag to correct location

This commit is contained in:
cloudhead 2024-05-15 14:47:57 +02:00
parent 5727359319
commit 6dd29d4b50
No known key found for this signature in database
1 changed files with 1 additions and 2 deletions

View File

@ -46,11 +46,10 @@ main() {
--env GIT_COMMIT_TIME=$SOURCE_DATE_EPOCH \ --env GIT_COMMIT_TIME=$SOURCE_DATE_EPOCH \
--env GIT_HEAD=$rev \ --env GIT_HEAD=$rev \
--env RADICLE_VERSION=$version \ --env RADICLE_VERSION=$version \
--ulimit=nofile=131072:1048576 \
--arch amd64 --tag $image -f ./build/Dockerfile - < $gitarchive --arch amd64 --tag $image -f ./build/Dockerfile - < $gitarchive
echo "Creating container (radicle-build-container).." echo "Creating container (radicle-build-container).."
podman --cgroup-manager=cgroupfs create --replace --name radicle-build-container $image podman --cgroup-manager=cgroupfs create --ulimit=host --replace --name radicle-build-container $image
# Copy build artifacts to output folder. # Copy build artifacts to output folder.
outdir=build/artifacts outdir=build/artifacts