Revert "Create Dockerfile"

This reverts commit 9ad7d64762.
This commit is contained in:
Christian Connert 2019-07-09 15:19:32 +02:00
parent 8b798ae5f8
commit ee3e0b6cf3
1 changed files with 0 additions and 19 deletions

View File

@ -1,19 +0,0 @@
FROM python:2-alpine
WORKDIR /usr/src/app
ADD . /usr/src/app
ENV DATAROOTDIR /usr/share
ENV SYSCONFDIR /etc
RUN apk add --no-cache libldap && \
apk add --no-cache --virtual build-dependencies build-base yaml-dev openldap-dev && \
python setup.py install && \
apk del build-dependencies && \
cp -v conf/* /etc/ldapcherry && \
adduser -S ldapcherry && \
rm -rf /usr/src/app
USER ldapcherry
CMD [ "ldapcherryd", "-c", "/etc/ldapcherry/ldapcherry.ini", "-D" ]