Skip to content

Commit

Permalink
builder: remove arm32; remove entrypoint
Browse files Browse the repository at this point in the history
Entry point was not needed, and arm32 builds are no longer done.
  • Loading branch information
jasonish committed Oct 21, 2024
1 parent d98221a commit 0ba9cf3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
10 changes: 6 additions & 4 deletions docker/builder/Dockerfile.cross
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,15 @@ ENV CROSS_CONTAINER_IN_CONTAINER=true

RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y
RUN cargo install cross --git https://github.com/cross-rs/cross

# Cross would install these itself, but do it now and save some time
# at runtime.
RUN rustup target add x86_64-pc-windows-gnu
RUN rustup target add x86_64-unknown-linux-musl
RUN rustup target add aarch64-unknown-linux-musl
RUN rustup target add armv7-unknown-linux-musleabihf
RUN rustup component add rust-src
RUN rustup component add rust-std

ENV CARGO=cross

COPY /docker/builder/docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]
#COPY /docker/builder/docker-entrypoint.sh /
#ENTRYPOINT ["/docker-entrypoint.sh"]
6 changes: 0 additions & 6 deletions docker/builder/docker-entrypoint.sh

This file was deleted.

0 comments on commit 0ba9cf3

Please sign in to comment.