mirror of
https://git.netzspielplatz.de/docker-multiarch/0bin.git
synced 2025-11-08 17:19:30 +00:00
initial commit
This commit is contained in:
commit
cf167a1792
2 changed files with 70 additions and 0 deletions
22
Dockerfile
Normal file
22
Dockerfile
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
FROM alpine:latest
|
||||
#MAINTAINER Maël Auzias <docker@mael.auzias.net>
|
||||
|
||||
|
||||
# python3
|
||||
RUN adduser -S python
|
||||
RUN apk --no-cache add python3
|
||||
|
||||
# pip3
|
||||
RUN apk --no-cache add curl \
|
||||
ca-certificates \
|
||||
&& curl -O https://bootstrap.pypa.io/get-pip.py \
|
||||
&& python3 get-pip.py \
|
||||
&& rm get-pip.py
|
||||
|
||||
RUN ls -lha /usr/lib/
|
||||
RUN pip install zerobin \
|
||||
&& chown python:root -R /usr/lib/python*/site-packages/zerobin/
|
||||
|
||||
USER python
|
||||
|
||||
ENTRYPOINT [ "zerobin", "--host=0.0.0.0" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue