jre docker image
i think the best docker image for java jre or jdk that i can find is eclipse-temurin:21-jre or other variants. Oher has been a confusing nightmare.
You can use this to build your dockerfile.
FROM eclipse-temurin:17-jre-alpine
RUN apk add --no-cache curl unzip
ENV JMETER_VERSION=5.6.3
ENV JMETER_URL=https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-${JMETER_VERSION}.tgz
RUN curl -Ls "${JMETER_URL}" | tar xz -C /opt && \
ln -s "/opt/apache-jmeter-${JMETER_VERSION}" /opt/jmeter
ENV PATH="/opt/jmeter/bin:${PATH}"
Comments