From 14998ce8312a2b8d3d3cf28bbd0a552803c8872a Mon Sep 17 00:00:00 2001 From: zontreck Date: Sun, 7 Jul 2024 02:52:24 -0700 Subject: [PATCH] Change flutter directory ownership --- LinuxGeneralCompiler/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/LinuxGeneralCompiler/Dockerfile b/LinuxGeneralCompiler/Dockerfile index 8fea0e0..dcc75c6 100644 --- a/LinuxGeneralCompiler/Dockerfile +++ b/LinuxGeneralCompiler/Dockerfile @@ -5,6 +5,7 @@ LABEL author="Tara Piccari" maintainer="tarapiccari@gmail.com" ARG JENKINS_SECRET=notset ENV DOCKER 1 +USER 0 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 chown -R root:root /flutter + RUN /flutter/bin/flutter --disable-analytics RUN /flutter/bin/flutter doctor