@@ -14,15 +14,15 @@ RUN apk --update --no-cache add \
14
14
&& pip install --upgrade pip
15
15
16
16
# Build bootloader for alpine
17
- RUN git clone --depth 1 --single-branch --branch v3.5 https://github.com/pyinstaller/pyinstaller.git /tmp/pyinstaller \
18
- && cd /tmp/pyinstaller/bootloader \
19
- && CFLAGS="-Wno-stringop-overflow" python ./waf configure --no-lsb all \
20
- && pip install .. \
21
- && rm -Rf /tmp/pyinstaller
22
-
17
+ # RUN git clone --depth 1 --single-branch --branch v3.5 https://github.com/pyinstaller/pyinstaller.git /tmp/pyinstaller \
18
+ # && cd /tmp/pyinstaller/bootloader \
19
+ # && CFLAGS="-Wno-stringop-overflow" python ./waf configure --no-lsb all \
20
+ # && pip install .. \
21
+ # && rm -Rf /tmp/pyinstaller
22
+ RUN pip install pyinstaller
23
23
# install cython
24
- RUN pip install cython==3.0a1
25
- RUN pip install PyCrypto==2.6.1
24
+ RUN pip install cython==3.0a9
25
+ RUN pip install tinyaes
26
26
27
27
# set settings module
28
28
ENV DJANGO_SETTINGS_MODULE "codecov.settings_enterprise"
@@ -50,7 +50,7 @@ COPY enterprise/ldd /pyinstaller/ldd
50
50
COPY enterprise/setup.py setup.py
51
51
COPY enterprise/cythonize.sh /pyinstaller/cythonize_everything.sh
52
52
53
- COPY enterprise/package.sh /pyinstaller/package.sh
53
+
54
54
COPY enterprise/pyi_rth_django.py /pyinstaller/pyi_rth_django.py
55
55
COPY enterprise/generate_pyinstaller_args.py /pyinstaller/generate_pyinstaller_args.py
56
56
@@ -61,6 +61,8 @@ COPY enterprise/hooks /hooks
61
61
RUN chmod a+x /pyinstaller/*
62
62
RUN ["/pyinstaller/cythonize_everything.sh"]
63
63
64
+ RUN pip install tinyaes
65
+ COPY enterprise/package.sh /pyinstaller/package.sh
64
66
RUN chmod a+x /pyinstaller/*
65
67
RUN ["/pyinstaller/package.sh"]
66
68
ENV RUN_ENV=ENTERPRISE
@@ -76,7 +78,7 @@ RUN chown codecov:application /home/enterprise.sh && \
76
78
chmod +x /home/enterprise.sh && \
77
79
chown codecov:application /home/api
78
80
79
- FROM alpine:3.13
81
+ FROM alpine:3.14
80
82
81
83
RUN addgroup -S application && adduser -S codecov -G application
82
84
RUN rm -rf /home/codecov
0 commit comments