File tree Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change 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
89LABEL authors="vovamod <veganetworkmain@gmail.com>, en0tuk <kolobokovich123@gmail.com>"
910
@@ -17,22 +18,23 @@ ENV LC_ALL 'en_US.UTF-8'
1718ENV 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
3437RUN useradd -m -d /home/container container
35-
3638USER container
3739ENV USER=container HOME=/home/container
3840WORKDIR /home/container
You can’t perform that action at this time.
0 commit comments