Commit 093befa3 authored by Stephan Großberndt's avatar Stephan Großberndt
Browse files

[TASK] Change order in Dockerfile to first PHP and then assets

parent f4da51c1
FROM gerritcodereview/gerrit:2.16.8-ubuntu16
# Add PHP for hooks
USER root
RUN apt-get update && apt-get install --yes --no-install-recommends \
php7.0-cli php7.0-curl \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
USER gerrit
# Add assets
......@@ -11,15 +22,3 @@ RUN rm -rf /var/gerrit/plugins
ADD assets/plugins /var/gerrit/plugins
ADD assets/static /var/gerrit/static
# Add PHP for hooks
USER root
RUN apt-get update && apt-get install --yes --no-install-recommends \
php7.0-cli php7.0-curl \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
USER gerrit
\ No newline at end of file
Markdown is supported
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