Verified Commit 553e4b37 authored by Aleksey Shirokih's avatar Aleksey Shirokih
Browse files

Revert to alpine 3.8. Because of https://github.com/esnme/ultrajson/issues/326

parent efcb50af
FROM alpine:3.10 AS code
FROM alpine:3.8 AS code
MAINTAINER Aleksey Shirokih <shirokih@nocproject.org>
......@@ -39,7 +39,7 @@ RUN apk add --update --no-cache \
&& python ./scripts/deploy/install-packages requirements/card.json \
&& python ./scripts/deploy/install-packages requirements/bi.json \
&& find /opt/noc/ -type f -name "*.py" -print0 | xargs -0 python -m py_compile \
&& /usr/bin/cythonize2 -i speedup/*.pyx \
&& /usr/bin/cythonize -i speedup/*.pyx \
&& apk del -r .build-deps \
&& adduser -h /opt/noc -s /bin/sh -S -D -H -u 1200 noc \
&& chown noc /opt/noc
......
FROM alpine:3.10
FROM alpine:3.8
MAINTAINER Aleksey Shirokih <shirokih@nocproject.org>
......@@ -39,4 +39,4 @@ RUN pip install --no-cache --trusted-host cdn.getnoc.com --find-links https://cd
COPY . /opt/noc
RUN find /opt/noc/ -type f -name "*.py" -print0 | xargs -0 python -m py_compile \
&& /usr/bin/cythonize2 -i speedup/*.pyx
&& /usr/bin/cythonize -i speedup/*.pyx
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment