feat: add support for Spotify albums & playlists #1
| @ -15,3 +15,7 @@ repos: | |||||||
|         -   id: fmt |         -   id: fmt | ||||||
|             args: ['--verbose', '--'] |             args: ['--verbose', '--'] | ||||||
|         -   id: cargo-check |         -   id: cargo-check | ||||||
|  | - repo: https://github.com/IamTheFij/docker-pre-commit | ||||||
|  |   rev: v2.0.1 | ||||||
|  |   hooks: | ||||||
|  |       - id: hadolint | ||||||
|  | |||||||
							
								
								
									
										12
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								Dockerfile
									
									
									
									
									
								
							| @ -1,18 +1,18 @@ | |||||||
| FROM rust:1.55.0-bullseye as builder | FROM rust:1.56.1-slim-bullseye as builder | ||||||
| 
 | 
 | ||||||
| # ENV RUSTFLAGS="-C target-feature=+crt-static" |  | ||||||
| WORKDIR /build | WORKDIR /build | ||||||
| 
 | 
 | ||||||
| RUN apt-get update && apt-get install -y \ | RUN apt-get update && apt-get install -y --no-install-recommends \ | ||||||
|     libssl-dev |     libssl-dev=1.1.1k-1+deb11u1 \ | ||||||
|  |     pkg-config=0.29.2-1 | ||||||
| 
 | 
 | ||||||
| COPY ./ /build | COPY ./ /build | ||||||
| RUN cargo build --release | RUN cargo build --release | ||||||
| 
 | 
 | ||||||
| FROM gcr.io/distroless/base | FROM gcr.io/distroless/base:latest-amd64 | ||||||
| 
 | 
 | ||||||
| COPY --from=builder /build/target/release/songlify /usr/bin/songlify | COPY --from=builder /build/target/release/songlify /usr/bin/songlify | ||||||
| COPY --from=builder /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib/x86_64-linux-gnu/ | COPY --from=builder /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib/x86_64-linux-gnu/ | ||||||
| COPY --from=builder /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib/x86_64-linux-gnu/ | COPY --from=builder /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib/x86_64-linux-gnu/ | ||||||
| 
 | 
 | ||||||
| ENTRYPOINT /usr/bin/songlify | ENTRYPOINT ["/usr/bin/songlify"] | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user