enowars5-service-stldoctor

STL-Analyzing A/D Service for ENOWARS5 in 2021
git clone https://git.sinitax.com/sinitax/enowars5-service-stldoctor
Log | Files | Refs | README | LICENSE | sfeed.txt

Dockerfile (598B)


      1FROM ubuntu:18.04
      2
      3RUN apt update && apt install -y --no-install-recommends nmap gcc make libc6-dev libc6 libc-dev-bin
      4
      5RUN addgroup --system service
      6RUN adduser --system --ingroup service --uid 1000 service
      7
      8COPY entrypoint.sh /
      9RUN chmod 755 /entrypoint.sh
     10
     11COPY cleaner /cleaner
     12RUN make -C /cleaner clean && make -C /cleaner
     13RUN cp /cleaner/cleaner /usr/bin/cleaner
     14run chmod +x /usr/bin/cleaner
     15
     16COPY src/ /service/
     17RUN make -C /service clean && make -C /service
     18RUN chmod +x /service/build/stldoctor
     19
     20WORKDIR /service/
     21
     22ENV RESULTDIR=/data/uploads
     23
     24EXPOSE 9000
     25
     26ENTRYPOINT ["/entrypoint.sh"]