Skip to content

Commit 6d9aadd

Browse files
committed
fix(docker): use dojo base image
1 parent 217196a commit 6d9aadd

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

Dockerfile

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,12 @@
1-
FROM ubuntu:24.04 as builder
1+
FROM ghcr.io/dojoengine/dojo-base:vbase-1
22

3-
RUN apt-get update && apt install -y git libtool automake autoconf make tini ca-certificates curl
4-
5-
RUN git clone https://github.com/Comcast/Infinite-File-Curtailer.git curtailer \
6-
&& cd curtailer \
7-
&& libtoolize \
8-
&& aclocal \
9-
&& autoheader \
10-
&& autoconf \
11-
&& automake --add-missing \
12-
&& ./configure \
13-
&& make \
14-
&& make install \
15-
&& curtail --version
16-
17-
FROM ubuntu:24.04 as base
18-
19-
COPY --from=builder /etc/ssl/certs /etc/ssl/certs
20-
COPY --from=builder /usr/bin/curl /usr/bin/curl
21-
22-
COPY --from=builder /usr/bin/tini /tini
233
ENTRYPOINT ["/tini", "--"]
244

255
ARG TARGETPLATFORM
266

27-
LABEL description="Dojo is a provable game engine and toolchain for building onchain games and autonomous worlds with Cairo" \
7+
LABEL description="Torii is an automatic indexer for Dojo." \
288
authors="Dojo team" \
299
source="https://github.com/dojoengine/torii" \
3010
documentation="https://book.dojoengine.org/"
3111

3212
COPY --from=artifacts --chmod=755 $TARGETPLATFORM/torii /usr/local/bin/
33-
34-
COPY --from=builder /usr/local/bin/curtail /usr/local/bin/curtail

0 commit comments

Comments
 (0)