-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (22 loc) · 792 Bytes
/
Dockerfile
File metadata and controls
27 lines (22 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
ARG ODIN_REF=dev-2026-05
ARG ARCH=amd64
ARG TARBALL="odin-linux-${ARCH}-${ODIN_REF}.tar.gz"
ARG URL="https://github.com/odin-lang/Odin/releases/download/${ODIN_REF}/${TARBALL}"
FROM ubuntu:26.04@sha256:f3d28607ddd78734bb7f71f117f3c6706c666b8b76cbff7c9ff6e5718d46ff64
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y \
&& apt-get install -y --no-install-recommends ca-certificates clang jq gawk locales curl \
&& update-ca-certificates \
&& locale-gen en_US.UTF-8 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /src
ARG URL
RUN curl --silent --location "${URL}" | tar zxf - \
&& mv odin* Odin \
&& ls -l Odin
ENV LC_ALL=en_US.UTF-8
ENV ODIN_ROOT=/src/Odin
ENV PATH="/src/Odin:${PATH}"
WORKDIR /opt/test-runner
COPY . .
ENTRYPOINT ["/opt/test-runner/bin/run.sh"]