split pacmanconf generation
This commit is contained in:
		
							
								
								
									
										11
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								Dockerfile
									
									
									
									
									
								
							| @@ -29,17 +29,18 @@ COPY --from=builder /app/target/release/untitled /usr/local/bin/untitled | |||||||
|  |  | ||||||
| RUN echo $'\n\ | RUN echo $'\n\ | ||||||
| [multilib]\n\ | [multilib]\n\ | ||||||
| Include = /etc/pacman.d/mirrorlist\n\ | Include = /etc/pacman.d/mirrorlist'>> /etc/pacman.conf | ||||||
| \n\n\ |  | ||||||
| [repo]\n\ |  | ||||||
| SigLevel = Optional TrustAll\n\ |  | ||||||
| Server = http://localhost:8080/' >> /etc/pacman.conf |  | ||||||
|  |  | ||||||
| RUN pacman -Syyu --noconfirm | RUN pacman -Syyu --noconfirm | ||||||
| RUN pacman-key --init && pacman-key --populate | RUN pacman-key --init && pacman-key --populate | ||||||
| RUN pacman -S --noconfirm base-devel git | RUN pacman -S --noconfirm base-devel git | ||||||
| RUN pacman -Sc | RUN pacman -Sc | ||||||
|  |  | ||||||
|  | RUN echo $'\n\ | ||||||
|  | [repo]\n\ | ||||||
|  | SigLevel = Optional TrustAll\n\ | ||||||
|  | Server = http://localhost:8080/' >> /etc/pacman.conf | ||||||
|  |  | ||||||
| # Set the entry point or default command to run your application | # Set the entry point or default command to run your application | ||||||
| WORKDIR /app | WORKDIR /app | ||||||
| CMD ["untitled"] | CMD ["untitled"] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user