mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Use openjdk8 on alpine for arm64 and arm/v7
This commit is contained in:
@ -4,8 +4,9 @@ ARG version=
|
||||
ARG restserver_url=
|
||||
ARG TARGETPLATFORM
|
||||
|
||||
RUN JDKPKG="openjdk11"; \
|
||||
if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then JDKPKG="openjdk8"; fi; \
|
||||
RUN JDKPKG="openjdk11-jre"; \
|
||||
if [[ $TARGETPLATFORM = linux/arm* ]]; then JDKPKG="openjdk8-jre"; fi; \
|
||||
apk update && \
|
||||
apk add --no-cache $JDKPKG bash tzdata
|
||||
|
||||
WORKDIR /opt
|
||||
|
Reference in New Issue
Block a user