diff --git a/dockerfiles/crystal-1.1.Dockerfile b/dockerfiles/crystal-1.1.Dockerfile index 6388fb42..e2c94c62 100644 --- a/dockerfiles/crystal-1.1.Dockerfile +++ b/dockerfiles/crystal-1.1.Dockerfile @@ -1,3 +1 @@ FROM crystallang/crystal:1.1.0-alpine - - diff --git a/dockerfiles/dotnet-6.0.Dockerfile b/dockerfiles/dotnet-6.0.Dockerfile index bb9b4362..1c7bc00c 100644 --- a/dockerfiles/dotnet-6.0.Dockerfile +++ b/dockerfiles/dotnet-6.0.Dockerfile @@ -21,4 +21,3 @@ RUN echo "cd \${CODECRAFTERS_SUBMISSION_DIR} && dotnet build --configuration Rel RUN chmod +x /codecrafters-precompile.sh ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="codecrafters-redis.csproj,codecrafters-redis.sln" - diff --git a/dockerfiles/dotnet-8.0.Dockerfile b/dockerfiles/dotnet-8.0.Dockerfile index fe60cd67..96219ba9 100644 --- a/dockerfiles/dotnet-8.0.Dockerfile +++ b/dockerfiles/dotnet-8.0.Dockerfile @@ -18,7 +18,3 @@ RUN echo "cd \${CODECRAFTERS_SUBMISSION_DIR} && dotnet build --configuration Rel RUN chmod +x /codecrafters-precompile.sh ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="codecrafters-redis.csproj,codecrafters-redis.sln" - -# Once the heavy steps are done, we can copy all files back -COPY . /app - diff --git a/dockerfiles/gleam-1.0.Dockerfile b/dockerfiles/gleam-1.0.Dockerfile index 521c8120..4f0684c4 100644 --- a/dockerfiles/gleam-1.0.Dockerfile +++ b/dockerfiles/gleam-1.0.Dockerfile @@ -19,6 +19,3 @@ RUN mv build /app-cached/build # Pre-compile steps (legacy) RUN printf "cd \${CODECRAFTERS_SUBMISSION_DIR} && gleam build" > /codecrafters-precompile.sh RUN chmod +x /codecrafters-precompile.sh - -# Once the heavy steps are done, we can copy all files back -COPY . /app \ No newline at end of file diff --git a/dockerfiles/gleam-1.4.Dockerfile b/dockerfiles/gleam-1.4.Dockerfile index e546fa13..82b3e8b2 100644 --- a/dockerfiles/gleam-1.4.Dockerfile +++ b/dockerfiles/gleam-1.4.Dockerfile @@ -15,6 +15,3 @@ RUN gleam build # Cache build directory RUN mkdir -p /app-cached RUN mv build /app-cached/build - -# Once the heavy steps are done, we can copy all files back -COPY . /app \ No newline at end of file diff --git a/dockerfiles/kotlin-2.0.Dockerfile b/dockerfiles/kotlin-2.0.Dockerfile index 185fcc22..bc811b0a 100644 --- a/dockerfiles/kotlin-2.0.Dockerfile +++ b/dockerfiles/kotlin-2.0.Dockerfile @@ -11,6 +11,3 @@ COPY --exclude=.git --exclude=README.md . /app # Cache dependencies RUN mvn -B package -Ddir=/tmp/codecrafters-build-dir - -# Once the heavy steps are done, we can copy all files back -COPY . /app \ No newline at end of file diff --git a/dockerfiles/ocaml-5.2.0.Dockerfile b/dockerfiles/ocaml-5.2.0.Dockerfile index 0e413091..5deb4f17 100644 --- a/dockerfiles/ocaml-5.2.0.Dockerfile +++ b/dockerfiles/ocaml-5.2.0.Dockerfile @@ -27,6 +27,3 @@ RUN opam install . --yes # This runs dune build RUN .codecrafters/compile.sh - -# Once the heavy steps are done, we can copy all files back -COPY . /app \ No newline at end of file diff --git a/dockerfiles/php-7.4.Dockerfile b/dockerfiles/php-7.4.Dockerfile index ef0819f3..31e67da1 100644 --- a/dockerfiles/php-7.4.Dockerfile +++ b/dockerfiles/php-7.4.Dockerfile @@ -1,4 +1,3 @@ FROM php:7.4-cli-alpine RUN docker-php-ext-install sockets - diff --git a/dockerfiles/php-8.3.Dockerfile b/dockerfiles/php-8.3.Dockerfile index 5fbecd92..afb02d41 100644 --- a/dockerfiles/php-8.3.Dockerfile +++ b/dockerfiles/php-8.3.Dockerfile @@ -4,4 +4,3 @@ FROM php:8.3-cli-alpine3.19 RUN apk add --no-cache linux-headers=6.5-r0 RUN docker-php-ext-install sockets - diff --git a/dockerfiles/ruby-3.3.Dockerfile b/dockerfiles/ruby-3.3.Dockerfile index 26a9d8a2..e44b77f3 100644 --- a/dockerfiles/ruby-3.3.Dockerfile +++ b/dockerfiles/ruby-3.3.Dockerfile @@ -17,6 +17,3 @@ WORKDIR /app COPY --exclude=.git --exclude=README.md . /app RUN bundle install --verbose - -# Once the heavy steps are done, we can copy all files back -COPY . /app \ No newline at end of file diff --git a/dockerfiles/rust-1.43.Dockerfile b/dockerfiles/rust-1.43.Dockerfile index 5abc0ee5..245a2894 100644 --- a/dockerfiles/rust-1.43.Dockerfile +++ b/dockerfiles/rust-1.43.Dockerfile @@ -21,4 +21,3 @@ RUN rm -f /tmp/codecrafters-redis-target/release/.fingerprint/redis_starter_rust RUN rm -rf /app/src ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Cargo.toml,Cargo.lock" - diff --git a/dockerfiles/rust-1.54.Dockerfile b/dockerfiles/rust-1.54.Dockerfile index 13c09300..596e04e2 100644 --- a/dockerfiles/rust-1.54.Dockerfile +++ b/dockerfiles/rust-1.54.Dockerfile @@ -24,4 +24,3 @@ RUN echo "cd \${CODECRAFTERS_SUBMISSION_DIR} && cargo build --release --target-d RUN chmod +x /codecrafters-precompile.sh ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Cargo.toml,Cargo.lock" - diff --git a/dockerfiles/rust-1.62.Dockerfile b/dockerfiles/rust-1.62.Dockerfile index bd5ffa6e..cd7d9ab3 100644 --- a/dockerfiles/rust-1.62.Dockerfile +++ b/dockerfiles/rust-1.62.Dockerfile @@ -24,4 +24,3 @@ RUN echo "cd \${CODECRAFTERS_SUBMISSION_DIR} && cargo build --release --target-d RUN chmod +x /codecrafters-precompile.sh ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Cargo.toml,Cargo.lock" - diff --git a/dockerfiles/rust-1.68.Dockerfile b/dockerfiles/rust-1.68.Dockerfile index 3b4b6b54..37578de5 100644 --- a/dockerfiles/rust-1.68.Dockerfile +++ b/dockerfiles/rust-1.68.Dockerfile @@ -24,4 +24,3 @@ RUN echo "cd \${CODECRAFTERS_SUBMISSION_DIR} && cargo build --release --target-d RUN chmod +x /codecrafters-precompile.sh ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Cargo.toml,Cargo.lock" - diff --git a/dockerfiles/rust-1.70.Dockerfile b/dockerfiles/rust-1.70.Dockerfile index 9b217ec6..5d745bc0 100644 --- a/dockerfiles/rust-1.70.Dockerfile +++ b/dockerfiles/rust-1.70.Dockerfile @@ -24,4 +24,3 @@ RUN echo "cd \${CODECRAFTERS_SUBMISSION_DIR} && cargo build --release --target-d RUN chmod +x /codecrafters-precompile.sh ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Cargo.toml,Cargo.lock" - diff --git a/dockerfiles/rust-1.76.Dockerfile b/dockerfiles/rust-1.76.Dockerfile index 109c0de7..97007f7f 100644 --- a/dockerfiles/rust-1.76.Dockerfile +++ b/dockerfiles/rust-1.76.Dockerfile @@ -24,4 +24,3 @@ RUN echo "cd \${CODECRAFTERS_SUBMISSION_DIR} && cargo build --release --target-d RUN chmod +x /codecrafters-precompile.sh ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Cargo.toml,Cargo.lock" - diff --git a/dockerfiles/rust-1.77.Dockerfile b/dockerfiles/rust-1.77.Dockerfile index 07fa8669..4f46ccdb 100644 --- a/dockerfiles/rust-1.77.Dockerfile +++ b/dockerfiles/rust-1.77.Dockerfile @@ -24,6 +24,3 @@ RUN echo "cd \${CODECRAFTERS_SUBMISSION_DIR} && cargo build --release --target-d RUN chmod +x /codecrafters-precompile.sh ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Cargo.toml,Cargo.lock" - -# Once the heavy steps are done, we can copy all files back -COPY . /app \ No newline at end of file diff --git a/dockerfiles/zig-0.12.Dockerfile b/dockerfiles/zig-0.12.Dockerfile index 18a053c0..7bb4af76 100644 --- a/dockerfiles/zig-0.12.Dockerfile +++ b/dockerfiles/zig-0.12.Dockerfile @@ -27,6 +27,3 @@ RUN zig build RUN printf "set -e \ncd \${CODECRAFTERS_SUBMISSION_DIR} \necho 'Running zig build' \nzig build \necho 'zig build completed.' \n" > /codecrafters-precompile.sh RUN chmod +x /codecrafters-precompile.sh - -# Once the heavy steps are done, we can copy all files back -COPY . /app \ No newline at end of file