spikecodes
1 year ago
No known key found for this signature in database
GPG Key ID: 4CECFF9B463BCB
4 changed files with
7 additions and
5 deletions
-
.github/workflows/docker-arm.yml
-
Cargo.lock
-
Cargo.toml
-
Dockerfile.arm
|
|
@ -31,6 +31,6 @@ jobs: |
|
|
|
with: |
|
|
|
context: . |
|
|
|
file: ./Dockerfile.arm |
|
|
|
platforms: linux/arm64,linux/arm/v7 |
|
|
|
platforms: linux/arm64 |
|
|
|
push: true |
|
|
|
tags: spikecodes/libreddit:arm |
|
|
|
|
|
@ -605,7 +605,7 @@ checksum = "9385f66bf6105b241aa65a61cb923ef20efc665cb9f9bb50ac2f0c4b7f378d41" |
|
|
|
|
|
|
|
[[package]] |
|
|
|
name = "libreddit" |
|
|
|
version = "0.10.7" |
|
|
|
version = "0.10.5" |
|
|
|
dependencies = [ |
|
|
|
"askama", |
|
|
|
"async-recursion", |
|
|
|
|
|
@ -3,7 +3,7 @@ name = "libreddit" |
|
|
|
description = " Alternative private front-end to Reddit" |
|
|
|
license = "AGPL-3.0" |
|
|
|
repository = "https://github.com/spikecodes/libreddit" |
|
|
|
version = "0.10.7" |
|
|
|
version = "0.10.5" |
|
|
|
authors = ["spikecodes <19519553+spikecodes@users.noreply.github.com>"] |
|
|
|
edition = "2018" |
|
|
|
|
|
|
|
|
|
@ -1,7 +1,9 @@ |
|
|
|
#################################################################################################### |
|
|
|
## Builder |
|
|
|
#################################################################################################### |
|
|
|
FROM --platform=$BUILDPLATFORM rust:latest AS builder |
|
|
|
FROM rust:alpine AS builder |
|
|
|
|
|
|
|
RUN apk add --no-cache g++ |
|
|
|
|
|
|
|
WORKDIR /usr/src/libreddit |
|
|
|
|
|
|
@ -12,7 +14,7 @@ RUN cargo install --path . |
|
|
|
#################################################################################################### |
|
|
|
## Final image |
|
|
|
#################################################################################################### |
|
|
|
FROM --platform=$BUILDPLATFORM alpine:latest |
|
|
|
FROM alpine:latest |
|
|
|
|
|
|
|
# Import ca-certificates from builder |
|
|
|
COPY --from=builder /usr/share/ca-certificates /usr/share/ca-certificates |
|
|
|