{"id":15144461,"url":"https://github.com/spirosstyliaras/robotframework-docker","last_synced_at":"2026-01-21T10:03:52.971Z","repository":{"id":203787248,"uuid":"710410908","full_name":"SpirosStyliaras/robotframework-docker","owner":"SpirosStyliaras","description":"robotframework-docker","archived":false,"fork":false,"pushed_at":"2023-10-26T22:55:36.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T23:37:55.900Z","etag":null,"topics":["docker","dockerfile","robotframework"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpirosStyliaras.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-26T16:25:39.000Z","updated_at":"2023-10-26T23:18:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"b077fa4d-3c2d-42b7-a7e1-c27d4a5b4474","html_url":"https://github.com/SpirosStyliaras/robotframework-docker","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"d202dad6e5250567921aaaea392ae0b0f3850d7d"},"previous_names":["spirosstyliaras/robotframework-docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpirosStyliaras%2Frobotframework-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpirosStyliaras%2Frobotframework-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpirosStyliaras%2Frobotframework-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpirosStyliaras%2Frobotframework-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpirosStyliaras","download_url":"https://codeload.github.com/SpirosStyliaras/robotframework-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247520621,"owners_count":20952210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","dockerfile","robotframework"],"created_at":"2024-09-26T10:41:27.392Z","updated_at":"2026-01-21T10:03:52.955Z","avatar_url":"https://github.com/SpirosStyliaras.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ctable align=\"center\"\u003e\u003ctr\u003e\u003ctd align=\"center\" width=\"9999\"\u003e\n\u003cimg src=\"icons/robot_logo.png\" align=\"center\" width=\"150\" alt=\"Robot icon\"\u003e\n\n# robotframework-docker\n\n\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\nCommon project for building Robot Framework docker image.\n\n## Container environment variables and build arguments\nWe can customize the build process of the docker container image through a set of environment variables:\n* `ROBOT_WORK_DIR` : The workspace of the container, the directory that contains the tests and generated reports.\n* `ROBOT_TEST_FRAMEWORK_DIR` : The test cases directory. This is where we mount the test framework whose testcases are executed from the container.\n* `ROBOT_LOGS_DIR` : The directory where test reports are saved.\n* `ROBOT_USER` : Container user.\n* `ROBOT_GROUP` : Container user's primary group.\n* `ROBOT_USER_UID` : User ID.\n* `ROBOT_GROUP_ID` : Group ID.\n\n\n## Running the container\nThe execution of the robot binary through the container is parameterized with the following environment variables:\n* `ROBOT_OPTIONAL_PARAMETERS` : Optional robot parameters like e.g. `--timestampoutputs --suitestatlevel`\n* `ROBOT_LOG_LEVEL` : Logging level like e.g. `TRACE:DEBUG`\n* `ROBOT_LOGS_DIR` : The directory where test reports are saved.\n* `ROBOT_VARIABLES` : A set of variables or variable files.\n* `ROBOT_TESTS` : The test cases executed. This variable can be initialized with any combination of `--test`, `--suite`, `--include` etc robot arguments.\n* `ROBOT_SUITES` : The directory containing test suites (`.robot`) files.\n\nThis container can be run using the following command:\n\n```sh\ndocker container run --rm -it -v \u003cpath to testframework\u003e:/opt/robotframework/testframework \\\n    -v \u003cpath to reports dir\u003e:/opt/robotframework/logs \\\n    -e \"PYTHONPATH=/opt/robotframework/testframework/libraries/\" \\\n    -e \"ROBOT_LOG_LEVEL=TRACE:DEBUG\" \\\n    -e \"ROBOT_VARIABLES=\u003crobot variables\u003e\" \\\n    -e \"ROBOT_TESTS=\u003crobot test cases\u003e\" \\\n    -e \"ROBOT_SUITES=\u003crobot test suite\u003e\" \\\n    robotframework-docker:latest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspirosstyliaras%2Frobotframework-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspirosstyliaras%2Frobotframework-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspirosstyliaras%2Frobotframework-docker/lists"}