Sonarr dockerfile: single RUN command to bypass Docker hub cache
This commit is contained in:
		
							parent
							
								
									6c3af5a1aa
								
							
						
					
					
						commit
						238c383edf
					
				|  | @ -3,14 +3,14 @@ MAINTAINER Jean Froment <froment.je@gmail.com> | ||||||
| 
 | 
 | ||||||
| # Get latest path for Jackett | # Get latest path for Jackett | ||||||
| RUN jack_tag=$(curl -sX GET "https://api.github.com/repos/Jackett/Jackett/releases/latest" \ | RUN jack_tag=$(curl -sX GET "https://api.github.com/repos/Jackett/Jackett/releases/latest" \ | ||||||
|     | awk '/tag_name/{print $4;exit}' FS='[""]') |     | awk '/tag_name/{print $4;exit}' FS='[""]') \ | ||||||
| 
 | 
 | ||||||
| # Install Sonarr, S6, and Jackett | # Install Sonarr, S6, and Jackett | ||||||
| RUN echo "deb http://apt.sonarr.tv/ master main" \ |     && echo "deb http://apt.sonarr.tv/ master main" \ | ||||||
|         > /etc/apt/sources.list.d/sonarr.list \ |             > /etc/apt/sources.list.d/sonarr.list \ | ||||||
|     && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA5DFFC \ |     && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA5DFFC \ | ||||||
|     && apt-get update \ |     && apt-get update \ | ||||||
|     && apt-get install -y nzbdrone libcurl4-openssl-dev mono \ |     && apt-get install -y nzbdrone libcurl4-openssl-dev \ | ||||||
|     && curl -sL "https://github.com/just-containers/s6-overlay/releases/download/v1.18.1.5/s6-overlay-amd64.tar.gz" \ |     && curl -sL "https://github.com/just-containers/s6-overlay/releases/download/v1.18.1.5/s6-overlay-amd64.tar.gz" \ | ||||||
|         | tar xz -C / \ |         | tar xz -C / \ | ||||||
|     && curl -sL "https://github.com/Jackett/Jackett/releases/download/$jack_tag/Jackett.Binaries.Mono.tar.gz" \ |     && curl -sL "https://github.com/Jackett/Jackett/releases/download/$jack_tag/Jackett.Binaries.Mono.tar.gz" \ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue