-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (19 loc) · 755 Bytes
/
Dockerfile
File metadata and controls
24 lines (19 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ARG BUILD_FROM=ghcr.io/home-assistant/amd64-base-debian:trixie-2026.04.0
FROM ${BUILD_FROM}
ARG PLATFORM
ARG ARCH
COPY java-dl.sh java-dl.sh
RUN chmod 777 ./java-dl.sh
RUN apt-get update && apt-get install --no-install-recommends -y \
wget=1.25.0-2 \
curl=8.14.1-2+deb13u2
# renovate: datasource=github-releases depName=mikefarah/yq
ENV YQ_VERSION="v4.53.2"
RUN [ "$ARCH" = "aarch64" ] && YQ_ARCH="arm64" || YQ_ARCH="$ARCH" \
echo "ARCH = ${YQ_ARCH}" && \
curl https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_${YQ_ARCH} -o /usr/local/bin/yq && \
chmod +x /usr/local/bin/yq \
yq --version
RUN ./java-dl.sh && \
apt-get autoremove && apt-get clean && rm -rf /var/lib/apt/lists/*
RUN rm ./java-dl.sh