remove unit
This commit is contained in:
		
							parent
							
								
									256adff870
								
							
						
					
					
						commit
						8c512f0515
					
				
					 2 changed files with 0 additions and 12 deletions
				
			
		|  | @ -19,11 +19,6 @@ RUN apt-get update && apt-get install -y \ | |||
|     zlib1g-dev \ | ||||
|     libjpeg-dev | ||||
| 
 | ||||
| RUN curl --output /usr/share/keyrings/nginx-keyring.gpg https://unit.nginx.org/keys/nginx-keyring.gpg && \ | ||||
|     echo "deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ focal unit" > /etc/apt/sources.list.d/unit.list && \ | ||||
|     echo "deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ focal unit" >> /etc/apt/sources.list.d/unit.list | ||||
| RUN apt-get -y update && apt-get -y install unit | ||||
| 
 | ||||
| EXPOSE 5000 | ||||
| 
 | ||||
| ARG tag=master | ||||
|  | @ -93,5 +88,4 @@ COPY start.py / | |||
| COPY runklipper.py / | ||||
| COPY start.sh / | ||||
| COPY printer.cfg / | ||||
| COPY unitconfig.json / | ||||
| CMD bash /start.sh | ||||
|  |  | |||
							
								
								
									
										6
									
								
								start.sh
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								start.sh
									
										
									
									
									
								
							|  | @ -1,11 +1,5 @@ | |||
| #Copy over Initial Printer Config | ||||
| cp -n /printer.cfg /home/octoprint/.octoprint/printer.cfg | ||||
| 
 | ||||
| #Start Unit | ||||
| unitd --no-daemon --control unix:/var/run/control-unit.sock & | ||||
| 
 | ||||
| #Apply Primary Full Configuration | ||||
| curl -X PUT --data-binary @/unitconfig.json --unix-socket /var/run/control-unit.sock http://localhost/config | ||||
| 
 | ||||
| #Start OctoPrint and Klipper | ||||
| python3 /start.py | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue