mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-25 20:37:48 +08:00
docker multi-platform release support
This commit is contained in:
@@ -29,4 +29,4 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKER_HUB_PASS }}
|
password: ${{ secrets.DOCKER_HUB_PASS }}
|
||||||
|
|
||||||
- name: Build the Docker image
|
- name: Build the Docker image
|
||||||
run: docker buildx build --push --platform linux/amd64,linux/arm64,linux/386 -t tardis07/oneforall:latest .
|
run: docker buildx build --push --platform linux/amd64,linux/arm64,linux/i386 -t tardis07/oneforall:latest .
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
FROM --platform=$TARGETPLATFORM python:3.8-alpine3.10
|
FROM --platform=$TARGETPLATFORM python:3.8-alpine3.10
|
||||||
MAINTAINER milktea@vmoe.info
|
LABEL maintainer="milktea@vmoe.info"
|
||||||
|
|
||||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||||
RUN apk update && apk --no-cache add git build-base libffi-dev libxml2-dev libxslt-dev libressl-dev
|
RUN apk update && apk --no-cache add git build-base libffi-dev libxml2-dev libxslt-dev libressl-dev
|
||||||
|
|||||||
Reference in New Issue
Block a user