ci: fix db docker image start command
This commit is contained in:
parent
ec9f3ba57e
commit
cee45d608b
8
.github/workflows/dev-db-nightly.yml
vendored
8
.github/workflows/dev-db-nightly.yml
vendored
|
@ -7,9 +7,17 @@ name: Nightly Dev DB Image
|
|||
|
||||
# Controls when the workflow will run
|
||||
on:
|
||||
# Run every night
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
# Run on db.Dockerfile changes
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'docker/db.Dockerfile'
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
|
|
|
@ -59,4 +59,5 @@ LABEL maintainer="IETF Tools Team <tools-discuss@ietf.org>"
|
|||
# Copy the mysql data folder from the import stage
|
||||
COPY --from=importStage /var/lib/mysql /var/lib/mysql
|
||||
|
||||
CMD ['--character-set-server=utf8', '--collation-server=utf8_unicode_ci', '--innodb-buffer-pool-size=1G', '--innodb-log-buffer-size=128M', '--innodb-log-file-size=256M', '--innodb-write-io-threads=8', '--innodb-flush-log-at-trx-commit=0', '--performance-schema=1']
|
||||
ENTRYPOINT ['docker-entrypoint.sh']
|
||||
CMD ['mariadbd', '--character-set-server=utf8', '--collation-server=utf8_unicode_ci', '--innodb-buffer-pool-size=1G', '--innodb-log-buffer-size=128M', '--innodb-log-file-size=256M', '--innodb-write-io-threads=8', '--innodb-flush-log-at-trx-commit=0', '--performance-schema=1']
|
||||
|
|
Loading…
Reference in a new issue