Change flutter directory ownership
This commit is contained in:
parent
b0f568e752
commit
14998ce831
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,7 @@ LABEL author="Tara Piccari" maintainer="tarapiccari@gmail.com"
|
||||||
ARG JENKINS_SECRET=notset
|
ARG JENKINS_SECRET=notset
|
||||||
|
|
||||||
ENV DOCKER 1
|
ENV DOCKER 1
|
||||||
|
USER 0
|
||||||
|
|
||||||
RUN echo ${JENKINS_SECRET} > /agent.secret
|
RUN echo ${JENKINS_SECRET} > /agent.secret
|
||||||
|
|
||||||
|
@ -30,6 +31,8 @@ RUN curl -sO https://dl.google.com/linux/direct/google-chrome-stable_current_amd
|
||||||
|
|
||||||
RUN dpkg -i google-chrome-stable_current_amd64.deb
|
RUN dpkg -i google-chrome-stable_current_amd64.deb
|
||||||
|
|
||||||
|
RUN chown -R root:root /flutter
|
||||||
|
|
||||||
RUN /flutter/bin/flutter --disable-analytics
|
RUN /flutter/bin/flutter --disable-analytics
|
||||||
RUN /flutter/bin/flutter doctor
|
RUN /flutter/bin/flutter doctor
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue