Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions compiled_starters/odin/codecrafters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ debug: false
# Use this to change the Odin version used to run your code
# on Codecrafters.
#
# Available versions: odin-2025.6
language_pack: odin-2025.6
# Available versions: odin-2025.7
language_pack: odin-2025.7
22 changes: 22 additions & 0 deletions dockerfiles/odin-2025.7.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# syntax=docker/dockerfile:1.7-labs
FROM silkeh/clang:19-bookworm

WORKDIR /Odin-install
RUN git clone --depth 1 -b dev-2025-07 https://github.com/odin-lang/Odin.git /Odin-install \
&& git checkout dev-2025-07 \
&& make

RUN mkdir /opt/Odin \
&& cp -R ./base ./core ./shared ./vendor ./odin /opt/Odin/

WORKDIR /
RUN rm -rf /Odin-install
ENV PATH="/opt/Odin:${PATH}"

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

# Install language-specific dependencies
RUN .codecrafters/compile.sh
4 changes: 2 additions & 2 deletions solutions/odin/01-cq2/code/codecrafters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ debug: false
# Use this to change the Odin version used to run your code
# on Codecrafters.
#
# Available versions: odin-2025.6
language_pack: odin-2025.6
# Available versions: odin-2025.7
language_pack: odin-2025.7
Loading