Skip to content

Commit 80a3a42

Browse files
committed
Add self-hosting and install-api step in base img
1 parent 0cd066e commit 80a3a42

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

base.Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ RUN if [ $IDRIS_VERSION = "latest" ] ; \
4343
WORKDIR /root/Idris2
4444
RUN make bootstrap SCHEME=scheme && make install
4545

46+
# self-hosting (needed for Idris2 API)
47+
# in my experience, the Idris2 API seems to still work without the self-hosting step
48+
# At least, it builds the idris2-python correctly (although i haven't checked anything else)
49+
# to be safe, I'll do this step anyway
50+
# NOTE: i don't think the install-api transfers to the child images!
51+
RUN make clean && make all && make install
52+
RUN make install-api
53+
4654
# these things aren't strictly necessary for a functioning base image,
4755
# but they make it possible for us to test the image
4856

0 commit comments

Comments
 (0)