mirror of
https://github.com/mempool/mempool.git
synced 2025-06-21 22:31:18 +02:00
Fix backend docker build for armv7
This commit is contained in:
parent
408c86963b
commit
ec918d57b2
1
backend/.dockerignore
Normal file
1
backend/.dockerignore
Normal file
@ -0,0 +1 @@
|
|||||||
|
Dockerfile
|
@ -7,9 +7,10 @@ WORKDIR /build
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y build-essential python3 pkg-config curl
|
RUN apt-get install -y build-essential python3 pkg-config curl ca-certificates
|
||||||
|
|
||||||
# Install Rust via rustup
|
# Install Rust via rustup
|
||||||
|
RUN CPU_ARCH=$(uname -m); if [ "$CPU_ARCH" = "armv7l" ]; then c_rehash; fi
|
||||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
|
||||||
ENV PATH="/root/.cargo/bin:$PATH"
|
ENV PATH="/root/.cargo/bin:$PATH"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user