github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/tini/Dockerfile (about)

     1  FROM ubuntu:xenial
     2  
     3  ARG ARCH_SUFFIX
     4  
     5  COPY ci/install_deps.sh /install_deps.sh
     6  RUN /install_deps.sh
     7  
     8  # Pre-install those here for faster local builds.
     9  RUN CFLAGS="-DPR_SET_CHILD_SUBREAPER=36 -DPR_GET_CHILD_SUBREAPER=37" python3 -m pip install psutil python-prctl bitmap
    10  
    11  ARG ARCH_NATIVE
    12  ARG CC
    13  
    14  # Persist ARGs into the image
    15  
    16  ENV ARCH_SUFFIX="$ARCH_SUFFIX" \
    17      ARCH_NATIVE="$ARCH_NATIVE" \
    18      CC="$CC"