FROM python:3.8-alpine AS nanobot-build
- RUN apk update && apk add git build-base libffi-dev libxml2 libxslt libxml2-dev libxslt-dev openssl-dev
+ RUN apk update && apk add --no-cache git build-base libffi-dev libxml2 libxslt libxml2-dev libxslt-dev openssl-dev
RUN apk update && apk add git gcc linux-headers libc-dev cmake pkgconfig make
-
+ ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
RUN pip install kubernetes
RUN pip install redis
RUN pip install asyncio