Skip to content

Try removing swift package resolve #262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions dockerfiles/swift-6.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@ WORKDIR /app
# .git & README.md are unique per-repository. We ignore them on first copy to prevent cache misses
COPY --exclude=.git --exclude=README.md . /app

RUN .codecrafters/compile.sh

# Cache dependencies (TODO: Check if this is required, or whether build implicitly caches dependencies)
RUN swift package --build-path /tmp/codecrafters-build-redis-swift resolve
# Runs swift build, which caches dependencies
RUN .codecrafters/compile.sh
Loading