[mod] extension install
This commit is contained in:
		
							parent
							
								
									65a5a2a5ec
								
							
						
					
					
						commit
						3080071c22
					
				
					 2 changed files with 7 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -36,6 +36,7 @@ ENV PATH=$PATH:/basex/bin
 | 
			
		|||
# install docker cli only
 | 
			
		||||
RUN curl https://download.docker.com/linux/static/stable/x86_64/docker-20.10.12.tgz  | tar zxv -C /tmp/ && \
 | 
			
		||||
    cp /tmp/docker/docker /usr/local/bin && rm -r /tmp/docker;
 | 
			
		||||
RUN chmod 666 /var/run/docker.sock
 | 
			
		||||
 | 
			
		||||
# ports and volumes
 | 
			
		||||
EXPOSE 8443
 | 
			
		||||
| 
						 | 
				
			
			@ -1,7 +1,11 @@
 | 
			
		|||
# setup 
 | 
			
		||||
 | 
			
		||||
# fix docker socket permission
 | 
			
		||||
chmod 666 /var/run/docker.sock
 | 
			
		||||
#install extensions
 | 
			
		||||
for FILE in ls ext.vsix/*
 | 
			
		||||
do
 | 
			
		||||
    code-server --install-extension $FILE
 | 
			
		||||
done
 | 
			
		||||
code-server --install-extension ext.vsix/buenon.scratchpads-0.0.7.vsix
 | 
			
		||||
 | 
			
		||||
# pull useful projects
 | 
			
		||||
cd /config/workspace
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue