(improvement)(build) Submit with docker-compose.yml version included. (#1295)

This commit is contained in:
lexluo09
2024-06-30 15:18:39 +08:00
committed by GitHub
parent dc63f4ef14
commit 5132b77953
2 changed files with 87 additions and 0 deletions

View File

@@ -7,6 +7,11 @@ WORKDIR /usr/src/app
# Argument to pass in the supersonic version at build time
ARG SUPERSONIC_VERSION
# Install necessary packages, including MySQL client
RUN apt-get update && \
apt-get install -y mysql-client unzip && \
rm -rf /var/lib/apt/lists/*
# Copy the supersonic standalone zip file into the container
COPY assembly/build/supersonic-standalone-${SUPERSONIC_VERSION}.zip .