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:
3
commands
3
commands
@@ -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"'
|
||||
|
||||
31
dockerfiles/peepdf.dockerfile
Normal file
31
dockerfiles/peepdf.dockerfile
Normal 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
|
||||
10
dockerfiles/template.dockerfile
Normal file
10
dockerfiles/template.dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user