-
Notifications
You must be signed in to change notification settings - Fork 175
/
Dockerfile
31 lines (23 loc) · 991 Bytes
/
Dockerfile
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
28
29
30
31
FROM debian:bookworm-slim as builder
RUN apt-get update && apt install -y git libtool automake autoconf make tini
RUN git clone https://github.com/Comcast/Infinite-File-Curtailer.git curtailer \
&& cd curtailer \
&& libtoolize \
&& aclocal \
&& autoheader \
&& autoconf \
&& automake --add-missing \
&& ./configure \
&& make \
&& make install \
&& curtail --version
FROM debian:bookworm-slim as base
COPY --from=builder /usr/bin/tini /tini
ENTRYPOINT ["/tini", "--"]
ARG TARGETPLATFORM
LABEL description="Dojo is a provable game engine and toolchain for building onchain games and autonomous worlds with Cairo" \
authors="tarrence <tarrence@cartridge.gg>" \
source="https://github.com/dojoengine/dojo" \
documentation="https://book.dojoengine.org/"
COPY --from=artifacts --chmod=755 $TARGETPLATFORM/katana $TARGETPLATFORM/sozo $TARGETPLATFORM/torii /usr/local/bin/
COPY --from=builder /usr/local/bin/curtail /usr/local/bin/curtail