mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-25 20:37:48 +08:00
add multi-platform release
This commit is contained in:
@@ -29,4 +29,4 @@ jobs:
|
||||
password: ${{ secrets.DOCKER_HUB_PASS }}
|
||||
|
||||
- name: Build the Docker image
|
||||
run: docker buildx build --push --platform linux/amd64 -t tardis07/oneforall:latest .
|
||||
run: docker buildx build --push --platform linux/amd64,linux/arm64,linux/386 -t tardis07/oneforall:latest .
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
FROM python:3.8-alpine3.10
|
||||
FROM --platform=$TARGETPLATFORM python:3.8-alpine3.10
|
||||
MAINTAINER milktea@vmoe.info
|
||||
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||
@@ -10,7 +10,7 @@ RUN git clone https://github.com/blechschmidt/massdns
|
||||
WORKDIR /massdns
|
||||
RUN make
|
||||
ADD . /OneForAll/
|
||||
RUN mv /massdns/bin/massdns /OneForAll/thirdparty/massdns/massdns_linux_x86_64
|
||||
RUN mv /massdns/bin/massdns /OneForAll/thirdparty/massdns/massdns_linux_$(uname -m)
|
||||
RUN mkdir /OneForAll/results
|
||||
WORKDIR /OneForAll/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user