Skip to content

Commit

Permalink
ci(docker): add linux/riscv64 for v2raya-gui
Browse files Browse the repository at this point in the history
  • Loading branch information
Markson Hon committed Nov 24, 2024
1 parent c45063a commit f3b2096
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ jobs:
context: .
builder: ${{ steps.buildx.outputs.name }}
file: install/docker/Dockerfile.GUI.Action
platforms: linux/arm,linux/arm64,linux/amd64
platforms: linux/arm,linux/arm64,linux/amd64,linux/riscv64
push: true
tags: |
mzz2017/v2raya-gui:latest
Expand Down
10 changes: 6 additions & 4 deletions install/docker/Dockerfile.GUI.Action
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM nginx:stable-alpine
WORKDIR /build
COPY ./web /usr/share/nginx/html
EXPOSE 80
FROM alpine:latest AS builder
WORKDIR /
RUN apk add --no-cache lighttpd
COPY ./web /var/www/localhost
EXPOSE 80
ENTRYPOINT ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]

0 comments on commit f3b2096

Please sign in to comment.