added a command and 2 templates

added the gnuplot command
added a peepdf dockerfile
added a berbone dockerfile as a template
This commit is contained in:
Tobias Kessels
2018-03-29 16:24:10 +02:00
parent 8cdf666c8f
commit e85d8a9f85
3 changed files with 43 additions and 1 deletions

View File

@@ -6,4 +6,5 @@ arecord -f cd -t raw | oggenc - -r | ssh <remote> mplayer -
#and reverse
ssh <user>@<remotehost> 'arecord -f cd -t raw | oggenc - -r' | mplayer -
#Zahlen verteilung analysieren
primes 1 100 |gnuplot -p -e 'plot "/dev/stdin"'

View File

@@ -0,0 +1,31 @@
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

View File

@@ -0,0 +1,10 @@
FROM debian:stretch
#FROM ubuntu:16.04
MAINTAINER tabledevil
RUN groupadd -g 999 user && \
useradd -r -u 999 -g user user
USER user