1
0
mirror of https://github.com/spikecodes/libreddit synced 2024-12-25 01:55:17 +01:00

Revert ARM builds to only arm64

This commit is contained in:
spikecodes 2021-04-17 21:32:48 -07:00
parent b6134a39d0
commit e3fb93946a
No known key found for this signature in database
GPG Key ID: 004CECFF9B463BCB
4 changed files with 7 additions and 5 deletions

View File

@ -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

2
Cargo.lock generated
View File

@ -605,7 +605,7 @@ checksum = "9385f66bf6105b241aa65a61cb923ef20efc665cb9f9bb50ac2f0c4b7f378d41"
[[package]]
name = "libreddit"
version = "0.10.7"
version = "0.10.5"
dependencies = [
"askama",
"async-recursion",

View File

@ -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"

View File

@ -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