forked from mirror/BlueMap
feat: arm64 support for docker image (#432)
This commit is contained in:
parent
463f5cb120
commit
3b7ee64d37
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -75,6 +75,7 @@ jobs:
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: ${{ steps.metadata.outputs.tags }}
|
||||
labels: ${{ steps.metadata.outputs.labels }}
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
|
@ -1,10 +1,7 @@
|
||||
FROM eclipse-temurin:17-jre-alpine
|
||||
FROM eclipse-temurin:17-jre-jammy
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apk update && \
|
||||
apk upgrade
|
||||
|
||||
COPY build/release/*-cli.jar cli.jar
|
||||
|
||||
ENTRYPOINT [ "java", "-jar", "cli.jar" ]
|
||||
|
Loading…
Reference in New Issue
Block a user