fix: as capitalization
This commit is contained in:
parent
157fb936b3
commit
1a94ad07cd
3 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM scratch as base
|
||||
FROM scratch AS base
|
||||
ENV VERSION=18.1.8
|
||||
ENV SRC_HASH=0b58557a6d32ceee97c8d533a59b9212d87e0fc4d2833924eb6c611247db2f2a
|
||||
ENV SRC_FILE=llvm-project-${VERSION}.src.tar.xz
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
FROM scratch as base
|
||||
FROM scratch AS base
|
||||
ENV VERSION=18.1.8
|
||||
ENV SRC_FILE=llvm-project-${VERSION}.src.tar.xz
|
||||
ENV SRC_SITE=https://github.com/llvm/llvm-project/releases/download/llvmorg-${VERSION}/${SRC_FILE}
|
||||
ENV SRC_HASH=0b58557a6d32ceee97c8d533a59b9212d87e0fc4d2833924eb6c611247db2f2a
|
||||
FROM base as fetch
|
||||
FROM base AS fetch
|
||||
ADD --checksum=sha256:${SRC_HASH} ${SRC_SITE} .
|
||||
|
||||
FROM fetch AS build
|
||||
|
|
|
@ -176,7 +176,7 @@ RUN sh build.sh 1.66.0 1.65.0
|
|||
RUN sh build.sh 1.67.0 1.66.0
|
||||
RUN sh build.sh 1.68.0 1.67.0
|
||||
|
||||
FROM build-script as build
|
||||
FROM build-script AS build
|
||||
COPY --from=stagex/llvm16 . /
|
||||
COPY --from=build-llvm13 /rust-1.68.0 /rust-1.68.0
|
||||
COPY --from=stagex/llvm13 /usr/lib/libLLVM-13.so /usr/lib/
|
||||
|
|
Loading…
Reference in a new issue