forked from NVlabs/mixedproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (23 loc) · 693 Bytes
/
Dockerfile
File metadata and controls
29 lines (23 loc) · 693 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
26
27
28
29
FROM ubuntu:20.04 as builder
RUN apt-get update && \
DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles" apt-get install -y \
openjdk-16-jdk \
python3 \
git \
make \
wget \
&& \
git clone --depth=1 https://github.com/NVlabs/mixedproxy.git && \
cd mixedproxy && \
make
FROM ubuntu:20.04
COPY --from=builder mixedproxy ./src
RUN apt-get update && \
DEBIAN_FRONTEND="noninteractive" TZ="America/New_York" apt-get install -y \
openjdk-16-jre \
python3 \
python3-pip \
&& \
python3 -m pip install --upgrade pip lark-parser
WORKDIR src
ENTRYPOINT ["python3", "src/test_to_alloy.py"]