mirror of
https://github.com/nicolabs/nicobot.git
synced 2025-09-07 05:14:01 +02:00
- rustup does not exit for arm on alpine
This commit is contained in:
parent
75a738462c
commit
5c302325f7
|
@ -32,15 +32,14 @@ RUN apk add --no-cache build-base gcc abuild binutils cmake \
|
|||
# See https://cryptography.io/en/latest/installation.html#alpine for cryptography dependencies
|
||||
gcc musl-dev python3-dev libffi-dev libressl-dev \
|
||||
zip make \
|
||||
# cargo rust \
|
||||
# Rust is a requirement to build the 'cryptography' Python module
|
||||
# At the time of writing this only exists for aarch64 (arm64) and x86_64
|
||||
# => using the alpine package rather than the "universal" rustup script
|
||||
# https://forge.rust-lang.org/infra/other-installation-methods.html
|
||||
cargo rust \
|
||||
# git required by setuptools-scm during 'pip install'
|
||||
git
|
||||
|
||||
# Rust is a requirement to build the 'cryptography' Python module
|
||||
# Installs rust using the recommended 'rustup' method (vs apt-get,
|
||||
# which seems to be less portable / outdated)
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY . .
|
||||
|
|
Loading…
Reference in a new issue