keras-team-keras
SUCCESS
9m 09s
History Source
SummaryIterations1Transcript6Dockerfile
01Iteration 1
WRITEWriteFile· step #1
0s
Dockerfile729 bytes written
text32 lines · 729 chars
FROM python:3.11-slim

ENV PYTHONUNBUFFERED=1

WORKDIR /workspace

# Install system dependencies
RUN apt-get update \
    && apt-get install -y --no-install-recommends \
        build-essential \
        ca-certificates \
        curl \
        git \
    && rm -rf /var/lib/apt/lists/*

# Copy requirements first to leverage Docker cache (if present)
COPY requirements.txt .

RUN python -m pip install --upgrade pip setuptools wheel
RUN pip install -r requirements.txt --no-cache-dir --progress-bar off

# Copy the project files
COPY . .

# Build nightly wheels from source
RUN python pip_build.py --nightly

# Install the package in editable mode for development/testing
RUN pip install -e "." --no-cache-dir

CMD ["/bin/bash"]
WRITEWriteFile· step #2
0s
.dockerignore393 bytes written
dockerignore46 lines · 393 chars
# Python
__pycache__/
*.py[cod]
*$py.class
*.pyo
*.pyd

# Distribution / packaging
build/
dist/
*.egg-info/
*.whl

# Virtual environments
venv/
ENV/
env/
.env/
.envs/

# Pytest / testing
.pytest_cache/
.pytest_cache
coverage.xml
coverage/

# IDE / editors
.vscode/
.idea/
*.swp
*.swo

# Misc
*.log
*.cache
*.tmp
*.backup
*.bak

# Node modules (if any)
node_modules/

# Archives
*.tar.gz
*.zip
VERIFYVerifyBuild· step #3
1m 25s
VerifyBuildbuild_failed
Build error
- Exact error message and exit code:
  - ERROR: Could not open requirements file: [Errno 2] No such file or directory: '/workspace/requirements-common.txt'
  - Exit code: 1

- Failing command/step:
  - Step [6/9] RUN pip install -r requirements.txt --no-cache-dir --progress-bar off

- Missing packages or files mentioned:
  - Missing file: /workspace/requirements-common.txt
  - Likely cause: requirements.txt references -r requirements-common.txt (or similar), but requirements-common.txt is not present in the build context (only requirements.txt was copied in step 4).

- Version/mismatch information:
  - Base image: python:3.11-slim
  - After this, step [9/9] upgrades occurred: pip upgraded to 26.0.1 (from 24.0), with setuptools to 82.0.1 and wheel to 0.46.3 (packaging 26.0 as well).
LISTListDirectory· step #4
0s
.31 entries
show entries31
.devcontainer/
.dockerignore
.gemini/
.git/
.github/
.gitignore
.kokoro/
.pre-commit-config.yaml
CONTRIBUTING.md
Dockerfile
LICENSE
README.md
SECURITY.md
api_gen.py
benchmarks/
codecov.yml
conftest.py
examples/
guides/
integration_tests/
keras/
pip_build.py
pyproject.toml
requirements-common.txt
requirements-jax-cuda.txt
requirements-jax-tpu.txt
requirements-tensorflow-cuda.txt
requirements-tensorflow-tpu.txt
requirements-torch-cuda.txt
requirements.txt
shell/
WRITEWriteFile· step #5
0s
Dockerfile754 bytes written
text32 lines · 754 chars
FROM python:3.11-slim

ENV PYTHONUNBUFFERED=1

WORKDIR /workspace

# Install system dependencies
RUN apt-get update \
    && apt-get install -y --no-install-recommends \
        build-essential \
        ca-certificates \
        curl \
        git \
    && rm -rf /var/lib/apt/lists/*

# Copy requirements first to leverage Docker cache (if present)
COPY requirements.txt requirements-common.txt ./

RUN python -m pip install --upgrade pip setuptools wheel
RUN pip install -r requirements.txt --no-cache-dir --progress-bar off

# Copy the project files
COPY . .

# Build nightly wheels from source
RUN python pip_build.py --nightly

# Install the package in editable mode for development/testing
RUN pip install -e "." --no-cache-dir

CMD ["/bin/bash"]
VERIFYVerifyBuild· step #6
6m 14s
VerifyBuildaccepted
Smoke [PASS]: python -V