mirror of
https://github.com/LemmyNet/lemmy
synced 2024-10-30 15:21:20 +00:00
review: rename script & fix typo
This commit is contained in:
parent
28d9be11ca
commit
58ec927f5f
@ -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}
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user