review: rename script & fix typo

This commit is contained in:
Enzo NOCERA 2023-11-10 11:12:57 +01:00 committed by Enzo Nocera
parent 28d9be11ca
commit 58ec927f5f
3 changed files with 3 additions and 3 deletions

View File

@ -44,12 +44,12 @@ WORKDIR /home/lemmy/src
USER 10001:10001
COPY --chown=lemmy:lemmy . ./
COPY --chown=lemmy:lemmy --chmod=755 docker/entrypoint.sh /home/lemmy/entrypoint.sh
COPY --chown=lemmy:lemmy --chmod=755 docker/docker-build.sh /home/lemmy/docker-build.sh
ENV RUST_RELEASE_MODE=${RUST_RELEASE_MODE} \
CARGO_BUILD_FEATURES=${CARGO_BUILD_FEATURES}
RUN --mount=type=cache,target=./target,uid=10001,gid=10001 bash /home/lemmy/entrypoint.sh
RUN --mount=type=cache,target=./target,uid=10001,gid=10001 bash /home/lemmy/docker-build.sh
## Final image
FROM ${AMD_RUNNER_IMAGE}

View File

@ -1,7 +1,7 @@
# Building Lemmy Images
Lemmy's images are meant to be **built** on `linux/amd64`,
but they can be **hosted** on both `linux/arm64` and `linux/arm64`.
but they can be **hosted** on both `linux/amd64` and `linux/arm64`.
To do so we need to use a *cross toolchain* whose goal is to build
**from** amd64 **to** arm64.