Skip to content

Commit b590aef

Browse files
committed
fix some docker warnings
1 parent 4d2bb7c commit b590aef

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

base-sha.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# separating this into a separate file so we can get better caching
44
# 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
55

6-
FROM debian:bullseye as scheme-builder
6+
FROM debian:bullseye AS scheme-builder
77

88
WORKDIR /root
99

@@ -22,12 +22,12 @@ RUN which scheme
2222
# 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
2323
RUN mkdir scheme-lib && cp -r /usr/lib/csv* /root/scheme-lib
2424

25-
FROM debian:bullseye as idris-builder
25+
FROM debian:bullseye AS idris-builder
2626

2727
RUN apt-get update && \
2828
apt-get install -y git make gcc libgmp-dev curl
2929

30-
ENV DEBIAN_FRONTEND noninteractive
30+
ENV DEBIAN_FRONTEND=noninteractive
3131
# SHA of the latest commit on the idris-lang/idris2 repo
3232
ARG IDRIS_SHA
3333

base.Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 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`
33

4-
FROM debian:bullseye as scheme-builder
4+
FROM debian:bullseye AS scheme-builder
55

66
WORKDIR /root
77

@@ -20,12 +20,12 @@ RUN which scheme
2020
# 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
2121
RUN mkdir scheme-lib && cp -r /usr/lib/csv* /root/scheme-lib
2222

23-
FROM debian:bullseye as idris-builder
23+
FROM debian:bullseye AS idris-builder
2424

2525
RUN apt-get update && \
2626
apt-get install -y git make gcc libgmp-dev curl
2727

28-
ENV DEBIAN_FRONTEND noninteractive
28+
ENV DEBIAN_FRONTEND=noninteractive
2929
ARG IDRIS_VERSION
3030

3131
COPY --from=scheme-builder /usr/bin/scheme /usr/bin/scheme

debian.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG IDRIS_VERSION=latest
22
ARG BASE_IMG=ghcr.io/joshuanianji/idris-2-docker/base:${IDRIS_VERSION}
33

4-
FROM $BASE_IMG as base
4+
FROM $BASE_IMG AS base
55

66
FROM debian:bullseye
77

devcontainer-sha.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG BASE_IMG=ghcr.io/joshuanianji/idris-2-docker/base:${IDRIS_VERSION}
77
# =====
88
# Idris Builder
99
# 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
1111
ARG IDRIS_VERSION
1212
ARG IDRIS_SHA
1313

devcontainer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG BASE_IMG=ghcr.io/joshuanianji/idris-2-docker/base:${IDRIS_VERSION}
66
# =====
77
# Idris Builder
88
# 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
1010
ARG IDRIS_VERSION
1111

1212
WORKDIR /build

ubuntu.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG IDRIS_VERSION=latest
22
ARG BASE_IMG=ghcr.io/joshuanianji/idris-2-docker/base:${IDRIS_VERSION}
33

4-
FROM $BASE_IMG as base
4+
FROM $BASE_IMG AS base
55

66
FROM ubuntu:20.04
77

0 commit comments

Comments
 (0)