Skip to content

Commit

Permalink
docker multi-platform release support
Browse files Browse the repository at this point in the history
  • Loading branch information
Tardis07 committed Jan 6, 2023
1 parent 96c31c5 commit 1418368
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
password: ${{ secrets.DOCKER_HUB_PASS }}

- 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 .
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM --platform=$TARGETPLATFORM python:3.8-alpine3.10
MAINTAINER [email protected]
LABEL maintainer="[email protected]"

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
Expand Down

0 comments on commit 1418368

Please sign in to comment.