Files
gists/dockerfiles/peepdf.dockerfile
Tobias Kessels e85d8a9f85 added a command and 2 templates
added the gnuplot command
added a peepdf dockerfile
added a berbone dockerfile as a template
2018-03-29 16:24:10 +02:00

32 lines
668 B
Docker

FROM ubuntu:16.04
MAINTAINER tabledevil
USER root
RUN apt-get update && apt-get install -y \
git \
python3-lxml \
python-libemu \
libemu2 \
libemu-dev \
libboost-all-dev \
python-pip ; \
rm -rf /var/lib/apt/lists/*
RUN groupadd -r nonroot && \
useradd -r -g nonroot -d /home/nonroot -s /sbin/nologin -c "Nonroot User" nonroot && \
mkdir /home/nonroot && \
chown -R nonroot:nonroot /home/nonroot
RUN git clone https://github.com/jesparza/peepdf /opt/peepdf
USER root
WORKDIR /home/nonroot/
#RUN pip install -v pyv8
RUN ln -s /opt/peepdf/peepdf.py /bin/peepdf.py
RUN chmod +x /bin/peepdf.py
#USER nonroot
WORKDIR /home/nonroot/
CMD /bin/bash