File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2020# Build a Docker image that has Gradle and all project dependencies ready.
2121# Needs to be run with .git and java-client/src mounted under /elasticsearch-java.
2222
23- FROM openjdk :17
23+ FROM eclipse-temurin :17
2424
2525# Default UID/GID to 1000
2626# it can be overridden at build time
@@ -31,7 +31,8 @@ ARG BUILDER_GID=1000
3131RUN (getent group ${BUILDER_GID} || groupadd -g ${BUILDER_GID} elastic) \
3232 && (getent passwd ${BUILDER_UID} || useradd -u ${BUILDER_UID} -g ${BUILDER_GID} elastic) \
3333 && mkdir -p /elasticsearch-java/build \
34- && chown -R ${BUILDER_UID}:${BUILDER_GID} /elasticsearch-java
34+ && chown -R ${BUILDER_UID}:${BUILDER_GID} /elasticsearch-java \
35+ && chown -R ${BUILDER_UID}:${BUILDER_GID} /home
3536
3637WORKDIR /elasticsearch-java/
3738USER ${BUILDER_UID}:${BUILDER_GID}
You can’t perform that action at this time.
0 commit comments