Skip to content

Commit 8fae768

Browse files
committed
Updating:
- OpenJDK 8 FIX (there is no 8-jdk-alpine with ARM support...)
1 parent 773ae59 commit 8fae768

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

OpenJDK/8/Dockerfile

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
# Environment: Java
44
# Minimum Panel Version: 1.7.0
55
# ----------------------------------
6-
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:8-jdk-alpine
6+
# GH Worker does not support non-ARM images? docker.io/library/eclipse-temurin:8-jdk-alpine
7+
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:8-jdk
78

89
LABEL authors="vovamod <veganetworkmain@gmail.com>, en0tuk <kolobokovich123@gmail.com>"
910

@@ -17,22 +18,23 @@ ENV LC_ALL 'en_US.UTF-8'
1718
ENV TZ UTC
1819

1920
# Install required tools with no cache (we want to save space)
20-
RUN apk add --no-cache \
21-
bash \
22-
curl \
23-
ca-certificates \
24-
git \
25-
openssl \
26-
tar \
27-
sqlite \
28-
fontconfig \
29-
tzdata \
30-
iproute2 \
31-
shadow
32-
21+
RUN apt-get update && \
22+
apt-get install -y --no-install-recommends \
23+
bash \
24+
curl \
25+
ca-certificates \
26+
git \
27+
openssl \
28+
tar \
29+
sqlite3 \
30+
fontconfig \
31+
tzdata \
32+
iproute2 \
33+
shadow && \
34+
apt-get clean && \
35+
rm -rf /var/lib/apt/lists/*
3336

3437
RUN useradd -m -d /home/container container
35-
3638
USER container
3739
ENV USER=container HOME=/home/container
3840
WORKDIR /home/container

0 commit comments

Comments
 (0)