initial Commit with Files from Blacktop

This commit is contained in:
TKE
2020-04-14 14:35:15 +02:00
commit 1e56d28320
5 changed files with 171 additions and 0 deletions

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM gliderlabs/alpine:3.4
MAINTAINER blacktop, https://github.com/blacktop
# Add scripts
COPY nsrl /nsrl
RUN apk-install tini
RUN apk-install -t .build-deps gcc libc-dev python-dev py-pip p7zip \
&& set -x \
&& apk --update add python $buildDeps \
&& rm -f /var/cache/apk/* \
&& pip install pybloom \
&& /nsrl/shrink_nsrl.sh \
&& apk del --purge .build-deps \
&& rm -rf /tmp/* /root/.cache /var/cache/apk/* /nsrl/shrink_nsrl.sh
WORKDIR /nsrl
ENTRYPOINT ["/sbin/tini","--","/nsrl/search.py"]
CMD ["-h"]