Skip to content

Commit a71bee6

Browse files
authored
match FROM casing for AS in risc dockerfile
https://github.com/Chia-Network/build-images/actions/runs/10946439832/job/30392953775?pr=81#step:11:32815 ``` 4 warnings found (use docker --debug to expand): - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 7) - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 18) - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 29) - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1) ```
1 parent 3dd40a2 commit a71bee6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ubuntu-22.04-risc/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM riscv64/ubuntu:focal as base
1+
FROM riscv64/ubuntu:focal AS base
22

33
RUN apt-get update && \
44
DEBIAN_FRONTEND="noninteractive" apt-get install -y tree build-essential cmake curl wget git make pkg-config libgmp-dev libboost-dev libssl-dev zlib1g zlib1g-dev libreadline-dev libffi-dev && \
55
rm -rf /var/lib/apt/lists/*
66

7-
FROM base as ld
7+
FROM base AS ld
88

99
RUN curl -L -O https://ftpmirror.gnu.org/gnu/binutils/binutils-2.38.tar.gz && \
1010
tar -xvzf binutils-2.38.tar.gz && \
@@ -15,7 +15,7 @@ RUN curl -L -O https://ftpmirror.gnu.org/gnu/binutils/binutils-2.38.tar.gz && \
1515
tree /opt && \
1616
/opt/ld/bin/ld --version
1717

18-
FROM base as sqlite
18+
FROM base AS sqlite
1919

2020
RUN curl -L -O https://sqlite.org/2022/sqlite-autoconf-3400100.tar.gz && \
2121
tar -xvzf sqlite-autoconf-3400100.tar.gz && \
@@ -26,7 +26,7 @@ RUN curl -L -O https://sqlite.org/2022/sqlite-autoconf-3400100.tar.gz && \
2626
tree /opt && \
2727
/opt/sqlite3/bin/sqlite3 -version
2828

29-
FROM base as final
29+
FROM base AS final
3030

3131
COPY --from=ld /opt/ld /usr
3232

0 commit comments

Comments
 (0)