mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-30 20:22:00 +00:00 
			
		
		
		
	Use Crystal compiler cache in docker builds
This commit is contained in:
		| @@ -21,7 +21,7 @@ COPY ./videojs-dependencies.yml ./videojs-dependencies.yml | ||||
|  | ||||
| RUN crystal spec --warnings all \ | ||||
|     --link-flags "-lxml2 -llzma"     | ||||
| RUN if [[ "${release}" == 1 ]] ; then \ | ||||
| RUN --mount=type=cache,target=/root/.cache/crystal if [[ "${release}" == 1 ]] ; then \ | ||||
|         crystal build ./src/invidious.cr \ | ||||
|         --release \ | ||||
|         --static --warnings all \ | ||||
|   | ||||
| @@ -22,7 +22,7 @@ COPY ./videojs-dependencies.yml ./videojs-dependencies.yml | ||||
| RUN crystal spec --warnings all \ | ||||
|     --link-flags "-lxml2 -llzma" | ||||
|  | ||||
| RUN if [[ "${release}" == 1 ]] ; then \ | ||||
| RUN --mount=type=cache,target=/root/.cache/crystal if [[ "${release}" == 1 ]] ; then \ | ||||
|         crystal build ./src/invidious.cr \ | ||||
|         --release \ | ||||
|         --static --warnings all \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syeopite
					syeopite