Commit a4cc613c authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

Merge branch 'feat/update-cozy-stack-and-fix-borken-viewer' into 'master'

chore: update Dockerfile with new cozy stack version and change base image

See merge request !5
parents 3bc22763 1920c5c3
FROM ubuntu:20.10 AS installer
FROM ubuntu:impish AS installer
ARG COZY_VERSION=1.4.36
ARG COZY_VERSION=1.4.42
ARG NODE_VERSION=12.13.0
WORKDIR /tmp
......@@ -11,10 +11,12 @@ COPY install.sh /
RUN chmod u+x /install.sh
RUN /install.sh
FROM ubuntu:20.10
FROM ubuntu:impish
RUN apt-get update && apt-get -y install git imagemagick \
&& rm -rf /var/cache/apt
# Update imagemagick rights for viewer
RUN sed -i 's/rights="none" pattern="PDF"/rights="read | write" pattern="PDF"/' /etc/ImageMagick-6/policy.xml
RUN groupadd --gid 1000 cozy && useradd --gid 1000 --uid 1000 -m -d /usr/local/cozy-stack cozy \
&& mkdir /etc/cozy && chown cozy:cozy /etc/cozy \
&& mkdir /usr/local/cozy-stack/scripts
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment