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
1 changed files with 5 additions and 2 deletions

View File

@ -36,12 +36,15 @@ RUN addgroup -S ${group} -g ${gid} && \
libffi-dev \ libffi-dev \
cyrus-sasl-dev \ cyrus-sasl-dev \
openldap-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 pip && \
pip3 install --upgrade setuptools && \ pip3 install --upgrade setuptools && \
chmod +x /entrypoint && \ chmod +x /entrypoint && \
mkdir -p /run/nginx/ && \ 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 WORKDIR /opt/lemur