Files
coder-images/java/Dockerfile.java21
T
anthorob c938c4df5a
Build PHP Images / build (82) (push) Failing after 9s
Build Java Images / build (21) (push) Failing after 13s
Build PHP Images / build (84) (push) Failing after 8s
Build Python Images / build (push) Failing after 8s
fix workflow
2026-03-18 09:03:13 -04:00

15 lines
419 B
Docker

FROM gitea.bobert.me/anthorob/coder-base:latest@sha256:ff48bd8e316d473090f664a69514bc1efc1badfed81e293f97fcb610be8530b3
USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends \
openjdk-21-jdk \
maven \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64
ENV PATH="${JAVA_HOME}/bin:${PATH}"
USER coder
WORKDIR /home/coder