From c6e946db4c8dd63df0a66172391a2cf0e53726ca Mon Sep 17 00:00:00 2001 From: "openai-code-agent[bot]" <242516109+Codex@users.noreply.github.com> Date: Thu, 2 Jul 2026 02:11:42 +0000 Subject: [PATCH] Bootstrap repository with ignore rules, container runtime, and actionable README Agent-Logs-Url: https://github.com/boci11/Codex/sessions/1c95fa42-0738-42da-bf4e-bdd2f44efb9f Co-authored-by: boci11 <263999273+boci11@users.noreply.github.com> --- .dockerignore | 11 +++++++++++ .gitignore | 26 ++++++++++++++++++++++++++ Dockerfile | 9 +++++++++ README.md | 30 +++++++++++++++++++++++++++++- 4 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 .dockerignore create mode 100644 .gitignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..add74ee --- /dev/null +++ b/.dockerignore @@ -0,0 +1,11 @@ +.git +.gitignore +__pycache__/ +*.py[cod] +.venv/ +venv/ +env/ +.pytest_cache/ +.mypy_cache/ +.ruff_cache/ +.DS_Store diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a541ffe --- /dev/null +++ b/.gitignore @@ -0,0 +1,26 @@ +# Python cache and bytecode +__pycache__/ +*.py[cod] +*$py.class + +# Virtual environments +.venv/ +venv/ +env/ + +# Tooling caches +.pytest_cache/ +.mypy_cache/ +.ruff_cache/ +.coverage +htmlcov/ + +# IDE/editor files +.vscode/ +.idea/ +*.swp +*.swo + +# OS files +.DS_Store +Thumbs.db diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..826307e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM python:3.11-slim + +WORKDIR /workspace + +RUN apt-get update \ + && apt-get install -y --no-install-recommends git ca-certificates \ + && rm -rf /var/lib/apt/lists/* + +CMD ["bash"] diff --git a/README.md b/README.md index 07a5807..c6b2958 100644 --- a/README.md +++ b/README.md @@ -1 +1,29 @@ -# Codex \ No newline at end of file +# Repozytorium Bazowe + +To repozytorium zawiera podstawową konfigurację startową: +- `.gitignore` dla typowych plików lokalnych i cache narzędzi. +- `Dockerfile` do uruchamiania środowiska roboczego w kontenerze. +- `.dockerignore` ograniczający kontekst buildu obrazu. + +## Uruchomienie kontenera + +Zbuduj obraz: + +```bash +docker build -t codex-workspace . +``` + +Uruchom kontener: + +```bash +docker run --rm -it -v "$(pwd):/workspace" codex-workspace +``` + +## Klonowanie zewnętrznego repozytorium (opcjonalnie) + +Jeśli chcesz zainicjalizować to repozytorium zawartością projektu `langchain-ai/langchain`, +wykonaj lokalnie (poza tym środowiskiem): + +```bash +gh repo clone langchain-ai/langchain . +```