Skip to content

Commit

Permalink
Merge pull request #18 from Informatievlaanderen/fix/server-docker
Browse files Browse the repository at this point in the history
fix: server docker file
  • Loading branch information
rorlic authored Nov 8, 2024
2 parents 7eef0cb + cf8bb81 commit 020e4d6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
FROM ubuntu:latest
RUN useradd -ms /bin/bash jmeter
RUN apt-get update && apt-get install -y curl
ARG JMETER_TAG=5.6.3
ARG JENA_TAG=5.2.0
ARG MONGO_JAVA_TAG=3.12.14
ARG JRE_TAG=21
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-${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 apt-get install -y openjdk-${JRE_TAG}-jre
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/${MONGO_JAVA_TAG}/mongo-java-driver-${MONGO_JAVA_TAG}.jar --output apache-jmeter/lib/mongo-java-driver-${MONGO_JAVA_TAG}.jar
Expand Down

0 comments on commit 020e4d6

Please sign in to comment.