Skip to content

Commit

Permalink
Merge pull request #17 from Informatievlaanderen/chore/3.5.0-alpha-re…
Browse files Browse the repository at this point in the history
…sults

fix: tags
  • Loading branch information
rorlic authored Nov 8, 2024
2 parents 023f519 + 7e7af66 commit 7eef0cb
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
FROM ubuntu:latest
RUN useradd -ms /bin/bash jmeter
RUN useradd -ms /bin/bash jmeter
RUN apt-get update && apt-get install -y curl
RUN curl https://dlcdn.apache.org//jmeter/binaries/apache-jmeter-5.6.2.tgz --output apache-jmeter-5.6.2.tgz && tar -xf apache-jmeter-5.6.2.tgz && rm apache-jmeter-5.6.2.tgz && chown jmeter -R /apache-jmeter-5.6.2 && ln -s apache-jmeter-5.6.2 apache-jmeter
ARG JMETER_TAG=5.6.3
ARG JENA_TAG=5.2.0
ARG MONGO_JAVA_TAG=3.12.14
RUN curl https://dlcdn.apache.org/jmeter/binaries/apache-jmeter-${JMETER_TAG}.tgz --output apache-jmeter-${JMETER_TAG}.tgz && tar -xf apache-jmeter-${JMETER_TAG}.tgz && rm apache-jmeter-${JMETER_TAG}.tgz && chown jmeter -R /apache-jmeter-${JMETER_TAG} && ln -s apache-jmeter-${JMETER_TAG} apache-jmeter
RUN apt-get install -y openjdk-19-jre
RUN curl https://dlcdn.apache.org/jena/binaries/apache-jena-5.0.0.tar.gz --output apache-jena-5.0.0.tar.gz && tar -xf apache-jena-5.0.0.tar.gz && rm apache-jena-5.0.0.tar.gz && chown jmeter -R apache-jena-5.0.0 && ln -s apache-jena-5.0.0 apache-jena
RUN curl https://dlcdn.apache.org/jena/binaries/apache-jena-${JENA_TAG}.tar.gz --output apache-jena-${JENA_TAG}.tar.gz && tar -xf apache-jena-${JENA_TAG}.tar.gz && rm apache-jena-${JENA_TAG}.tar.gz && chown jmeter -R apache-jena-${JENA_TAG} && ln -s apache-jena-${JENA_TAG} apache-jena
RUN rm apache-jmeter/lib/mongo-java-driver-2*
RUN curl https://repo1.maven.org/maven2/org/mongodb/mongo-java-driver/3.12.14/mongo-java-driver-3.12.14.jar --output apache-jmeter/lib/mongo-java-driver-3.12.14.jar
RUN curl https://repo1.maven.org/maven2/org/mongodb/mongo-java-driver/${MONGO_JAVA_TAG}/mongo-java-driver-${MONGO_JAVA_TAG}.jar --output apache-jmeter/lib/mongo-java-driver-${MONGO_JAVA_TAG}.jar
USER jmeter
WORKDIR /home/jmeter
ENTRYPOINT ["/apache-jmeter/bin/jmeter"]

0 comments on commit 7eef0cb

Please sign in to comment.