root: install cargo for cryptography build
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
39e3f02503
commit
a957e1fc45
4
.github/workflows/ci-main.yml
vendored
4
.github/workflows/ci-main.yml
vendored
|
@ -234,8 +234,8 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
arch:
|
arch:
|
||||||
- 'linux/amd64'
|
- 'linux/amd64'
|
||||||
# - 'linux/arm64'
|
- 'linux/arm64'
|
||||||
# - 'linux/arm/v7'
|
- 'linux/arm/v7'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
|
|
|
@ -58,11 +58,11 @@ ENV GIT_BUILD_HASH=$GIT_BUILD_HASH
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
curl ca-certificates gnupg git runit rustc libpq-dev \
|
curl ca-certificates gnupg git runit rustc cargo libpq-dev \
|
||||||
postgresql-client build-essential libxmlsec1-dev \
|
postgresql-client build-essential libxmlsec1-dev \
|
||||||
pkg-config libmaxminddb0 libffi7 libffi-dev zlib1g-dev && \
|
pkg-config libmaxminddb0 libffi7 libffi-dev zlib1g-dev && \
|
||||||
pip install -r /requirements.txt --no-cache-dir && \
|
pip install -r /requirements.txt --no-cache-dir && \
|
||||||
apt-get remove --purge -y build-essential git rustc && \
|
apt-get remove --purge -y build-essential git rustc cargo && \
|
||||||
apt-get autoremove --purge -y && \
|
apt-get autoremove --purge -y && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/ && \
|
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/ && \
|
||||||
|
|
Reference in a new issue