Skip to content

Commit

Permalink
Merge pull request #79 from yankay/support-loongarch64
Browse files Browse the repository at this point in the history
support loongarch64
  • Loading branch information
yankay authored Dec 20, 2022
2 parents 5cd5361 + f476e27 commit 822c14f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.nginx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM nginx:1.23.3-alpine AS base-amd64
FROM nginx:1.23.3-alpine AS base-arm64
FROM nginx:1.23.3-alpine AS base-arm
FROM mips64le/nginx:1.23.3 AS base-mips64le
FROM cr.loongnix.cn/library/nginx:1.23.1-alpine AS base-loongnix
FROM cr.loongnix.cn/library/nginx:1.23.1-alpine AS base-loongarch64

FROM base-$TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ IMAGE_ARCH:=$(REGISTRY)/dao-2048-$(MACHINE_TYPE):$(TAG)
# export TRIVY_DB_REPOSITORY=ghcr.m.daocloud.io/aquasecurity/trivy-db
TRIVY_DB_REPOSITORY?=ghcr.io/aquasecurity/trivy-db

TARGETS?=linux/arm,linux/arm64,linux/amd64,linux/mips64le
TARGETS?=linux/arm,linux/arm64,linux/amd64,linux/mips64le,linux/loongarch64
TARGETS_STATIC?=linux/arm,linux/arm64,linux/amd64

build-container:
Expand Down
6 changes: 0 additions & 6 deletions charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ helm upgrade --install dao-2048 dao-2048/dao-2048 --version $VERSION --set servi
helm upgrade --install dao-2048 dao-2048/dao-2048 --version $VERSION --set image.repository=daocloud/dao-2048-static
```

### Use Loongarch64 Image
```
helm upgrade --install dao-2048 dao-2048/dao-2048 --version $VERSION --set image.repository=daocloud/dao-2048-loongarch64
```


### Thanks

This image is derived from the Docker Hub image **[alexwhen/docker-2048](https://registry.hub.docker.com/u/alexwhen/docker-2048/)**, thanks to the developer**[alexwhen] (https://github.com/alexwhen)** enthusiastic support. And thanks to gabrielecirulli's [2048] (https://github.com/gabrielecirulli/2048) project

0 comments on commit 822c14f

Please sign in to comment.