File tree Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 3
3
# separating this into a separate file so we can get better caching
4
4
# there is a lot of redundancy between this and base.Dockerfile, but I don't think it's worth it to try to abstract it out
5
5
6
- FROM debian:bullseye as scheme-builder
6
+ FROM debian:bullseye AS scheme-builder
7
7
8
8
WORKDIR /root
9
9
@@ -22,12 +22,12 @@ RUN which scheme
22
22
# this makes it a bit easier for us to move the csv folder to other build steps, since it is necessary for scheme to run
23
23
RUN mkdir scheme-lib && cp -r /usr/lib/csv* /root/scheme-lib
24
24
25
- FROM debian:bullseye as idris-builder
25
+ FROM debian:bullseye AS idris-builder
26
26
27
27
RUN apt-get update && \
28
28
apt-get install -y git make gcc libgmp-dev curl
29
29
30
- ENV DEBIAN_FRONTEND noninteractive
30
+ ENV DEBIAN_FRONTEND= noninteractive
31
31
# SHA of the latest commit on the idris-lang/idris2 repo
32
32
ARG IDRIS_SHA
33
33
Original file line number Diff line number Diff line change 1
1
# Expects IDRIS_VERSION to NOT be `latest`
2
- # uBut a tag of the form `v0.7.0`
2
+ # But a tag of the form `v0.7.0`
3
3
4
- FROM debian:bullseye as scheme-builder
4
+ FROM debian:bullseye AS scheme-builder
5
5
6
6
WORKDIR /root
7
7
@@ -20,12 +20,12 @@ RUN which scheme
20
20
# this makes it a bit easier for us to move the csv folder to other build steps, since it is necessary for scheme to run
21
21
RUN mkdir scheme-lib && cp -r /usr/lib/csv* /root/scheme-lib
22
22
23
- FROM debian:bullseye as idris-builder
23
+ FROM debian:bullseye AS idris-builder
24
24
25
25
RUN apt-get update && \
26
26
apt-get install -y git make gcc libgmp-dev curl
27
27
28
- ENV DEBIAN_FRONTEND noninteractive
28
+ ENV DEBIAN_FRONTEND= noninteractive
29
29
ARG IDRIS_VERSION
30
30
31
31
COPY --from=scheme-builder /usr/bin/scheme /usr/bin/scheme
Original file line number Diff line number Diff line change 1
1
ARG IDRIS_VERSION=latest
2
2
ARG BASE_IMG=ghcr.io/joshuanianji/idris-2-docker/base:${IDRIS_VERSION}
3
3
4
- FROM $BASE_IMG as base
4
+ FROM $BASE_IMG AS base
5
5
6
6
FROM debian:bullseye
7
7
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ ARG BASE_IMG=ghcr.io/joshuanianji/idris-2-docker/base:${IDRIS_VERSION}
7
7
# =====
8
8
# Idris Builder
9
9
# Rebuild with correct prefix. Somehow, building from scratch with a different prefix fails
10
- FROM $BASE_IMG as idris-builder
10
+ FROM $BASE_IMG AS idris-builder
11
11
ARG IDRIS_VERSION
12
12
ARG IDRIS_SHA
13
13
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ARG BASE_IMG=ghcr.io/joshuanianji/idris-2-docker/base:${IDRIS_VERSION}
6
6
# =====
7
7
# Idris Builder
8
8
# Rebuild with correct prefix. Somehow, building from scratch with a different prefix fails
9
- FROM $BASE_IMG as idris-builder
9
+ FROM $BASE_IMG AS idris-builder
10
10
ARG IDRIS_VERSION
11
11
12
12
WORKDIR /build
Original file line number Diff line number Diff line change 1
1
ARG IDRIS_VERSION=latest
2
2
ARG BASE_IMG=ghcr.io/joshuanianji/idris-2-docker/base:${IDRIS_VERSION}
3
3
4
- FROM $BASE_IMG as base
4
+ FROM $BASE_IMG AS base
5
5
6
6
FROM ubuntu:20.04
7
7
You can’t perform that action at this time.
0 commit comments