ci: fix db docker image start command

This commit is contained in:
Nicolas Giard 2022-03-17 17:03:37 -04:00 committed by GitHub
parent ec9f3ba57e
commit cee45d608b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View file

@ -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:

View file

@ -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']