-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow arbitrary --user values #161
Conversation
According to https://www.mysql.com/support/eol-notice.html, we might technically be able to drop 5.5 as EOL as of today (although we're running it on Debian 7, which never was actually supported), but since it was pretty simple to make it work too, I just went for it. |
5.5 is actually pretty nice to have in that upstream doesn't actually provide Debian/Ubuntu packages for it, so I'd think the ease of use/setup of the Docker image is a pretty big plus (though I have no usage numbers to back this up with :P) |
Fair enough! 👍
|
Oh, and change generally looks good to me, though I have to admit I haven't looked closely at gosu :) |
It's conceptually really simple -- like |
I think the main difference is that the |
LGTM. Should we merge? |
Yeah, I think we can. |
- `cassandra`: 3.0.6 - `mongo`: 3.3.6 - `mysql`: allow arbitrary `--user` (docker-library/mysql#161) - `owncloud`: 8.2.5, 8.1.8, 8.0.13, 7.0.15 - `tomcat`: 9.0.0.M6, 8.5.2, 8.0.35
- `cassandra`: 3.0.6 - `mongo`: 3.3.6 - `mysql`: allow arbitrary `--user` (docker-library/mysql#161) - `owncloud`: 8.2.5, 8.1.8, 8.0.13, 7.0.15 - `tomcat`: 9.0.0.M6, 8.5.2, 8.0.35
- `cassandra`: 3.0.6 - `mongo`: 3.3.6 - `mysql`: allow arbitrary `--user` (docker-library/mysql#161) - `owncloud`: 8.2.5, 8.1.8, 8.0.13, 7.0.15 - `tomcat`: 9.0.0.M6, 8.5.2, 8.0.35
If permissions problems exist, they should be overcome properly. For examples see: LINK: docker-library/rabbitmq#60 LINK: docker-library/cassandra#48 LINK: docker-library/mongo#81 LINK: redis/docker-library-redis#48 LINK: docker-library/mysql#161 LINK: MariaDB/mariadb-docker#59 LINK: docker-library/percona#21 LINK: docker-library/ghost#54 LINK: docker-library/postgres#253 As suggested by @tianon LINK: docker-library/official-images#3724 (comment) This is part of an effort to make FluentD part of Docker's Official Images. Signed-off-by: Lee Jones <[email protected]>
If permissions problems exist, they should be overcome properly. For examples see: LINK: docker-library/rabbitmq#60 LINK: docker-library/cassandra#48 LINK: docker-library/mongo#81 LINK: redis/docker-library-redis#48 LINK: docker-library/mysql#161 LINK: MariaDB/mariadb-docker#59 LINK: docker-library/percona#21 LINK: docker-library/ghost#54 LINK: docker-library/postgres#253 As suggested by @tianon LINK: docker-library/official-images#3724 (comment) This is part of an effort to make FluentD part of Docker's Official Images. Signed-off-by: Lee Jones <[email protected]>
If permissions problems exist, they should be overcome properly. For examples see: LINK: docker-library/rabbitmq#60 LINK: docker-library/cassandra#48 LINK: docker-library/mongo#81 LINK: redis/docker-library-redis#48 LINK: docker-library/mysql#161 LINK: MariaDB/mariadb-docker#59 LINK: docker-library/percona#21 LINK: docker-library/ghost#54 LINK: docker-library/postgres#253 As suggested by @tianon LINK: docker-library/official-images#3724 (comment) This is part of an effort to make FluentD part of Docker's Official Images. Signed-off-by: Lee Jones <[email protected]>
If permissions problems exist, they should be overcome properly. For examples see: LINK: docker-library/rabbitmq#60 LINK: docker-library/cassandra#48 LINK: docker-library/mongo#81 LINK: redis/docker-library-redis#48 LINK: docker-library/mysql#161 LINK: MariaDB/mariadb-docker#59 LINK: docker-library/percona#21 LINK: docker-library/ghost#54 LINK: docker-library/postgres#253 As suggested by @tianon LINK: docker-library/official-images#3724 (comment) This is part of an effort to make FluentD part of Docker's Official Images. Signed-off-by: Lee Jones <[email protected]>
If permissions problems exist, they should be overcome properly. For examples see: LINK: docker-library/rabbitmq#60 LINK: docker-library/cassandra#48 LINK: docker-library/mongo#81 LINK: redis/docker-library-redis#48 LINK: docker-library/mysql#161 LINK: MariaDB/mariadb-docker#59 LINK: docker-library/percona#21 LINK: docker-library/ghost#54 LINK: docker-library/postgres#253 As suggested by @tianon LINK: docker-library/official-images#3724 (comment) This is part of an effort to make FluentD part of Docker's Official Images. Signed-off-by: Lee Jones <[email protected]>
Report was: In docker-entrypoint.sh line 67: mysql=( docker_process_sql ) ^---^ SC2034: mysql appears unused. Verify use (or export if used externally). In docker-entrypoint.sh line 81: . "$f" ^--^ SC1090: ShellCheck can't follow non-constant source. Use a directive to specify location. In docker-entrypoint.sh line 149: if [ -z "$MARIADB_ROOT_PASSWORD" -a -z "$MARIADB_ALLOW_EMPTY_ROOT_PASSWORD" -a -z "$MARIADB_RANDOM_ROOT_PASSWORD" ]; then ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. In docker-entrypoint.sh line 228: passfileArgs=() ^----------^ SC2034: passfileArgs appears unused. Verify use (or export if used externally). In docker-entrypoint.sh line 231: MYSQL_PWD= docker_exec_client "$@" ^-- SC1007: Remove space after = if trying to assign a value (for empty string, use var='' ... ). In docker-entrypoint.sh line 366: exec gosu mysql "$BASH_SOURCE" "$@" ^----------^ SC2128: Expanding an array without an index only gives the first element.
Closes #153
See also docker-library/rabbitmq#60, docker-library/cassandra#48, docker-library/mongo#81, and redis/docker-library-redis#48.
cc @ltangvald