AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Scriptcase place php in macro1/25/2024 That should allow the user to change permissions on the script without a USER change, but may give that user more access than you desire to modify the script inside the container. If you want the script to be owned by sonarqube instead, you could run: COPY -chown=sonarqube:sonarqube scripts/ /scripts/ For a single script, you do not need the -R recursive option, and I'm explicit with the permissions since shell scripts also require read access by all users. The * is also implied when copying a directory. When executing all the fields are shown, and also the field 'state' which must be hidden by means of the change that is applied to the field 'familiaid'. We save the changes and execute the application. Note I've also switched from ADD to COPY since you are not pulling remote URL's or extracting tar/zip files. Now the macro scfielddisplay will be used by means of a condition that is going to hide or show a field dynamically: 3. Here's an example Dockerfile for that: FROM sonarqube:7.7-community You can change back to the sonarqube user after fixing the permissions. Changing permissions of files you do not own in Linux requires root access, and the COPY command is most likely copying the file as root.
0 Comments
Read More
Leave a Reply. |