Skip to content

Commit

Permalink
feat(dockerfle):add riscv64 support (#5)
Browse files Browse the repository at this point in the history
Co-authored-by: 100ask <user@100ask.com>
ljpsichuanuniversity and 100ask authored Dec 6, 2023
1 parent bff38cf commit 6822158
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/container.yml
Original file line number Diff line number Diff line change
@@ -168,7 +168,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
builder: ${{ steps.buildx.outputs.name }}
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/riscv64
cache-from: type=gha
cache-to: type=gha,mode=max
file: Dockerfile
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -22,7 +22,9 @@ RUN find . -type f -exec dos2unix {} \;

RUN npm install && npm run build && npm run buildsingle

FROM openresty/openresty:1.21.4.1-4-bullseye-fat
FROM xfan1024/openeuler:23.03-light

RUN yum install openresty -y

ENV TZ=Asia/Shanghai

0 comments on commit 6822158

Please sign in to comment.