2018-12-18 16:48:28 +00:00
|
|
|
FROM mysql:5.7
|
|
|
|
|
2022-05-30 10:41:05 +00:00
|
|
|
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.4.0}
|
2018-12-18 16:48:28 +00:00
|
|
|
|
2022-07-25 08:58:51 +00:00
|
|
|
RUN curl -SL "https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v$PINPOINT_VERSION/web/src/main/resources/sql/CreateTableStatement-mysql.sql" -o /docker-entrypoint-initdb.d/CreateTableStatement-mysql.sql \
|
|
|
|
&& curl -SL "https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v$PINPOINT_VERSION/web/src/main/resources/sql/SpringBatchJobRepositorySchema-mysql.sql" -o /docker-entrypoint-initdb.d/SpringBatchJobRepositorySchema-mysql.sql \
|
2018-12-18 16:48:28 +00:00
|
|
|
&& sed -i '/^--/d' /docker-entrypoint-initdb.d/CreateTableStatement-mysql.sql \
|
2022-07-25 08:58:51 +00:00
|
|
|
&& sed -i '/^--/d' /docker-entrypoint-initdb.d/SpringBatchJobRepositorySchema-mysql.sql
|