aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 43a897b4c350f9abf2cb0837958ee5c0d4eab8a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM python:3.9-alpine3.12

ARG PIP_TAG=21.2.4

WORKDIR /opt/chained-ci-mqtt-trigger-master

COPY . .

ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1

RUN apk add --no-cache --virtual .build-deps gcc \
                                             musl-dev \
                                             libffi-dev \
                                             openssl-dev && \
    pip install --no-cache-dir --upgrade pip==$PIP_TAG && \
    pip install --no-cache-dir . && \
    apk del .build-deps