fix: as capitalization

This commit is contained in:
Anton Livaja 2024-08-14 23:23:49 -04:00
parent 157fb936b3
commit 1a94ad07cd
No known key found for this signature in database
GPG key ID: 44A86CFF1FDF0E85
3 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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/