Update dockerfiles
This commit is contained in:
		
							parent
							
								
									8a5b09f6e7
								
							
						
					
					
						commit
						eb21d411b3
					
				
					 4 changed files with 3 additions and 14 deletions
				
			
		|  | @ -39,7 +39,7 @@ RUN \ | ||||||
| FROM amd64-builder as builder | FROM amd64-builder as builder | ||||||
| 
 | 
 | ||||||
| ARG TAG=master | ARG TAG=master | ||||||
| ARG REPOSITORY=https://git.asonix.dog/asonix/ap-relay | ARG REPOSITORY=https://git.asonix.dog/asonix/relay | ||||||
| ARG BINARY=relay | ARG BINARY=relay | ||||||
| 
 | 
 | ||||||
| RUN \ | RUN \ | ||||||
|  |  | ||||||
|  | @ -39,7 +39,7 @@ RUN \ | ||||||
| FROM arm32v7-builder as builder | FROM arm32v7-builder as builder | ||||||
| 
 | 
 | ||||||
| ARG TAG=master | ARG TAG=master | ||||||
| ARG REPOSITORY=https://git.asonix.dog/asonix/ap-relay | ARG REPOSITORY=https://git.asonix.dog/asonix/relay | ||||||
| ARG BINARY=relay | ARG BINARY=relay | ||||||
| 
 | 
 | ||||||
| RUN \ | RUN \ | ||||||
|  |  | ||||||
|  | @ -39,7 +39,7 @@ RUN \ | ||||||
| FROM aarch64-builder as builder | FROM aarch64-builder as builder | ||||||
| 
 | 
 | ||||||
| ARG TAG=master | ARG TAG=master | ||||||
| ARG REPOSITORY=https://git.asonix.dog/asonix/ap-relay | ARG REPOSITORY=https://git.asonix.dog/asonix/relay | ||||||
| ARG BINARY=relay | ARG BINARY=relay | ||||||
| 
 | 
 | ||||||
| RUN \ | RUN \ | ||||||
|  |  | ||||||
|  | @ -1,11 +0,0 @@ | ||||||
| FROM asonix/diesel-cli:v1.4.0-r1-arm64v8 |  | ||||||
| 
 |  | ||||||
| COPY migrations /migrations |  | ||||||
| USER root |  | ||||||
| RUN \ |  | ||||||
|  apt-get install -y tini && \ |  | ||||||
|  chown -R diesel:diesel /migrations |  | ||||||
| 
 |  | ||||||
| USER diesel |  | ||||||
| ENTRYPOINT ["/usr/bin/tini"] |  | ||||||
| CMD ["diesel", "migration", "run", "--migration-dir", "/migrations"] |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue