From c1d76ed496d5ff97a1fff0fc37c8e2277fe256ae Mon Sep 17 00:00:00 2001 From: "alvaro@a37" Date: Fri, 9 Jan 2026 11:45:11 +0100 Subject: [PATCH] selinux y podman --- Makefile | 4 ++-- README.md | 10 +++------- docker-compose.yml | 4 ++-- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index c6feabb..57a924d 100644 --- a/Makefile +++ b/Makefile @@ -10,10 +10,10 @@ build-android-release-podman: build-podman podman-compose run --entrypoint "flutter build apk --release" flutter build-linux-debug-podman: build-podman - podman-compose run --entrypoint "flutter build linux" flutter + podman-compose run --entrypoint "flutter build linux --debug" flutter run-linux-debug: build-linux-debug-podman build/linux/x64/debug/bundle/d4rt_formulas run-web-release-podman: build-web-release-podman - podman-compose run --entrypoint "cd build/web && python3 -m http.server 8080" flutter + cd build/web && python3 -m http.server 8080 diff --git a/README.md b/README.md index 00d6931..fda9c0d 100644 --- a/README.md +++ b/README.md @@ -123,15 +123,11 @@ Each formula includes: - **Images** - Visual diagrams, graphs, or illustrations - **Examples** - Sample calculations and use cases -## Project Structure - -- `bin/` - Main executable and entry point -- `lib/` - Core library code and formula engine -- `test/` - Unit tests and formula validation tests - ## Getting Started -[Installation and usage instructions to be added] +This project uses `flutter`, so a valid installation is needed in order to build it. + +For convenience, a containerized build is provided. It is based on `podman` and `podman-compose`. See [Makefile](Makefile) for details. ## Contributing diff --git a/docker-compose.yml b/docker-compose.yml index cd4fe81..73feed0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: dockerfile: Dockerfile image: d4rt-formulas-builder volumes: - - ./docker/cache:/cache - - .:/app # Link the current directory to /app in the container + - ./docker/cache:/cache:z + - .:/app:z # Link the current directory to /app in the container environment: - FLUTTER_FLAVOR=prod # Example environment variable, adjust as needed