mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +00:00 
			
		
		
		
	creat and chown /sharkey/files in dockerfile
This commit is contained in:
		
							parent
							
								
									00ab7f5bd1
								
							
						
					
					
						commit
						aebdbf07b4
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -41,6 +41,7 @@ RUN apk add ffmpeg tini jemalloc \
 | 
				
			||||||
	&& addgroup -g "${GID}" sharkey \
 | 
						&& addgroup -g "${GID}" sharkey \
 | 
				
			||||||
	&& adduser -D -u "${UID}" -G sharkey -h /sharkey sharkey \
 | 
						&& adduser -D -u "${UID}" -G sharkey -h /sharkey sharkey \
 | 
				
			||||||
	&& mkdir /sharkey/files \
 | 
						&& mkdir /sharkey/files \
 | 
				
			||||||
 | 
						&& chown sharkey:sharkey /sharkey/files \
 | 
				
			||||||
	&& find / -type d -path /sys -prune -o -type d -path /proc -prune -o -type f -perm /u+s -exec chmod u-s {} \; \
 | 
						&& find / -type d -path /sys -prune -o -type d -path /proc -prune -o -type f -perm /u+s -exec chmod u-s {} \; \
 | 
				
			||||||
	&& find / -type d -path /sys -prune -o -type d -path /proc -prune -o -type f -perm /g+s -exec chmod g-s {} \;
 | 
						&& find / -type d -path /sys -prune -o -type d -path /proc -prune -o -type f -perm /g+s -exec chmod g-s {} \;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue