Update Dockerfile

This commit is contained in:
Lukas M 2018-12-30 22:48:28 +01:00 committed by GitHub
parent a4ce379bce
commit 2ae6c3a714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,12 +36,15 @@ RUN addgroup -S ${group} -g ${gid} && \
libffi-dev \
cyrus-sasl-dev \
openldap-dev && \
mkdir -p /opt/lemur && curl -sSL https://github.com/Netflix/lemur/archive/$VERSION.tar.gz | tar xz -C /opt/lemur --strip-components=1 && \
mkdir -p /opt/lemur /home/lemur/.lemur/ && \
curl -sSL https://github.com/Netflix/lemur/archive/$VERSION.tar.gz | tar xz -C /opt/lemur --strip-components=1 && \
pip3 install --upgrade pip && \
pip3 install --upgrade setuptools && \
chmod +x /entrypoint && \
mkdir -p /run/nginx/ && \
chown -R $user:$group /opt/lemur/
touch /home/lemur/.lemur/lemur.log && \
chown -R $user:$group /opt/lemur/ /home/lemur/.lemur/ && \
ln -s /home/lemur/.lemur/lemur.log /dev/stdout
WORKDIR /opt/lemur