diff --git a/.github/workflows/docker-arm.yml b/.github/workflows/docker-arm.yml index fbf48bd..941dce2 100644 --- a/.github/workflows/docker-arm.yml +++ b/.github/workflows/docker-arm.yml @@ -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 diff --git a/Cargo.lock b/Cargo.lock index 5d1cc42..a9da2bf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -605,7 +605,7 @@ checksum = "9385f66bf6105b241aa65a61cb923ef20efc665cb9f9bb50ac2f0c4b7f378d41" [[package]] name = "libreddit" -version = "0.10.7" +version = "0.10.5" dependencies = [ "askama", "async-recursion", diff --git a/Cargo.toml b/Cargo.toml index 91a9e1b..ee26d83 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/Dockerfile.arm b/Dockerfile.arm index 952d468..93703d0 100644 --- a/Dockerfile.arm +++ b/Dockerfile.arm @@ -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