root: install cargo for cryptography build

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-11-22 12:22:07 +01:00
parent 39e3f02503
commit a957e1fc45
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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/ && \