I create a docker image on top of
marketsquare/robotframework-browser:v6.0.0 docker image :
FROM marketsquare/robotframework-browser:v6.0.0 USER root WORKDIR /usr/src/app RUN mkdir -m 755 logs USER pwuser COPY tasks/ ./tasks/ COPY libraries/ ./libraries/ COPY resources/ ./resources/ COPY variables/ ./variables/ COPY install/requirements.txt . ... CMD robot --nostatusrc --outputdir logs -b debug.log tasks/*.robot \ && cat logs/debug.log
I am having issue with write permissions on logs folder. When the image starts, I get a
PermissionDenied error from robot claiming that it must not write the
I already tried playing with users
pwuser which I found in the original GItHub repository. But maybe my sources were outdated…
How can I create a folder and execute robot inside the image?