feat: support armv7

This commit is contained in:
DDSRem
2023-05-20 16:56:49 +08:00
parent 277394c74f
commit 9f0a6cc6f1
2 changed files with 12 additions and 4 deletions

View File

@@ -76,7 +76,7 @@ jobs:
with:
context: .
builder: ${{ steps.buildx.output.name }}
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: ${{ github.event_name == 'push' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

View File

@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
FROM python:3.11-alpine AS APP
FROM alpine:3.18 AS APP
ENV S6_SERVICES_GRACETIME=30000 \
S6_KILL_GRACETIME=60000 \
@@ -18,11 +18,19 @@ WORKDIR /app
COPY requirements.txt .
RUN apk add --no-cache \
bash \
ca-certificates \
coreutils \
curl \
jq \
shadow \
netcat-openbsd \
procps-ng \
python3 \
py3-bcrypt \
py3-pip \
s6-overlay \
bash && \
shadow \
tzdata && \
python3 -m pip install --upgrade pip && \
pip install --no-cache-dir -r requirements.txt && \
# Download WebUI