forked from carrier-io/interceptor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (19 loc) · 713 Bytes
/
Dockerfile
File metadata and controls
25 lines (19 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM python:3.11-alpine
#ENV GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
#ENV GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
RUN apk update && apk add --no-cache supervisor docker docker-compose git bash g++
RUN pip install --upgrade pip
RUN pip install --upgrade setuptools
ADD setup.py /tmp/setup.py
ADD requirements.txt /tmp/requirements.txt
COPY interceptor /tmp/interceptor
ADD start.sh /tmp/start.sh
RUN chmod +x /tmp/start.sh
WORKDIR /tmp
RUN pip install requests
RUN python setup.py install
RUN rm -rf interceptor requirements.txt setup.py
RUN pip install git+https://github.com/carrier-io/arbiter.git
RUN pip install git+https://github.com/carrier-io/loki_logger.git
SHELL ["/bin/bash", "-c"]
ENTRYPOINT ["/tmp/start.sh"]