Skip to content

Commit

Permalink
Merge branch 'base_image' of github.com:streamnative/benchmark into b…
Browse files Browse the repository at this point in the history
…ase_image
  • Loading branch information
yaalsn committed Dec 3, 2024
2 parents d5b78da + e2663f9 commit 9fe574b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker/Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ WORKDIR /benchmark
RUN mvn install -DskipTests

# Create the benchmark image
FROM eclipse-temurin:17.0.6_10-jdk
FROM alpine:latest
RUN apk update
RUN apk add git alpine-sdk util-linux cmake autoconf automake libtool openjdk17 maven curl bash tar vim

COPY --from=build /benchmark/package/target/openmessaging-benchmark-*-SNAPSHOT-bin.tar.gz /
RUN mkdir /benchmark && tar -xzf openmessaging-benchmark-*-SNAPSHOT-bin.tar.gz -C /benchmark --strip=1
RUN rm /openmessaging-benchmark-*-SNAPSHOT-bin.tar.gz
WORKDIR /benchmark
WORKDIR /benchmark

0 comments on commit 9fe574b

Please sign in to comment.