15 lines
351 B
Docker
15 lines
351 B
Docker
FROM eclipse-temurin:23-jdk
|
|
|
|
RUN apt-get update && apt-get install -y curl gzip build-essential libz-dev
|
|
RUN curl -fL "https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-linux.gz" | gzip -d > cs
|
|
RUN chmod +x cs
|
|
RUN cp cs /usr/local/bin
|
|
RUN ./cs setup --yes
|
|
|
|
COPY . /build
|
|
|
|
WORKDIR /build
|
|
|
|
RUN ./mill aoc.assembly
|
|
|
|
RUN ./mill aoc.nativeImage |