mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
remove heredocs due to cache issue
This commit is contained in:
@@ -17,12 +17,11 @@ ENV RUSTUP_TOOLCHAIN=${RUST_VERSION}
|
|||||||
# Line two: curl, for downloading binaries
|
# Line two: curl, for downloading binaries
|
||||||
# Line three: for xx-verify
|
# Line three: for xx-verify
|
||||||
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
||||||
--mount=type=cache,target=/var/lib/apt,sharing=locked <<EOF
|
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
||||||
apt-get update && apt-get install -y \
|
apt-get update && apt-get install -y \
|
||||||
clang-${LLVM_VERSION} lld-${LLVM_VERSION} pkg-config make \
|
clang-${LLVM_VERSION} lld-${LLVM_VERSION} pkg-config make \
|
||||||
curl git \
|
curl git \
|
||||||
file
|
file
|
||||||
EOF
|
|
||||||
|
|
||||||
# Create symlinks for LLVM tools
|
# Create symlinks for LLVM tools
|
||||||
RUN <<EOF
|
RUN <<EOF
|
||||||
@@ -53,11 +52,10 @@ ARG TARGETPLATFORM
|
|||||||
# Install libraries linked by the binary
|
# Install libraries linked by the binary
|
||||||
# xx-* are xx-specific meta-packages
|
# xx-* are xx-specific meta-packages
|
||||||
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
||||||
--mount=type=cache,target=/var/lib/apt,sharing=locked <<EOF
|
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
||||||
xx-apt-get install -y \
|
xx-apt-get install -y \
|
||||||
xx-c-essentials xx-cxx-essentials \
|
xx-c-essentials xx-cxx-essentials \
|
||||||
liburing-dev
|
liburing-dev
|
||||||
EOF
|
|
||||||
|
|
||||||
# Set up Rust toolchain
|
# Set up Rust toolchain
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
Reference in New Issue
Block a user