c3ab14fa30
- Create Dockerfile.base with all tools and dependencies (built once) - Slim down Dockerfile to just copy scripts from base image - CI checks for base image existence, builds if missing - Runtime builds drop from ~17min to ~10sec (only copies scripts) - Base image only needs rebuild when tools/versions change
11 lines
208 B
Docker
11 lines
208 B
Docker
FROM claude-dev-base:latest
|
|
|
|
WORKDIR /repos/nas-tools
|
|
|
|
COPY required-tools.txt /opt/claude-dev/required-tools.txt
|
|
COPY scripts /opt/claude-dev/scripts
|
|
|
|
RUN chmod +x /opt/claude-dev/scripts/*.sh
|
|
|
|
CMD ["bash"]
|