[
https://issues.apache.org/jira/browse/GUACAMOLE-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17342850#comment-17342850
]
Mike Jumper commented on GUACAMOLE-1342:
----------------------------------------
I don't think there would be any issue with PostgreSQL, but the GPL license of
MySQL would be a concern. It may even be a concern for the MySQL "Connector/J"
JDBC driver, which is already included in the main image as an optional
dependency.
The current policy stated on the ASF website
(https://www.apache.org/legal/resolved.html#prohibited) seems pretty explicit:
{quote}
h3. YOU MAY NOT DISTRIBUTE THEM
Apache projects may not distribute Category X licensed components, in source or
binary form; in ASF source code or in convenience binaries. As with the
previous question on platforms, you can rely on the component if its license
terms do not affect the Apache product's licensing. For example, using a GPL'ed
tool during the build is okay, but including GPL'ed source code is not.
{quote}
BUT, that would seem to disallow project distribution of Docker images entirely
given the licensing of the Linux kernel and other utilities that are bundled
with base images, and that shouldn't be the case. There's an open issue in the
legal discuss JIRA for clarifying that:
https://issues.apache.org/jira/browse/LEGAL-437
> Docker multi-stage images for MySQL and PostgreSQL
> ---------------------------------------------------
>
> Key: GUACAMOLE-1342
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1342
> Project: Guacamole
> Issue Type: Improvement
> Components: Documentation, guacamole-docker
> Reporter: Miloš Zdravković
> Priority: Minor
> Attachments: Dockerfile-mysql, Dockerfile-postgres
>
>
> We could simplify the database initialization process by explicitly
> documenting the use of multi-stage feature in Dockerfiles (please see the
> attachment files). This also opens a possibility of hosting prebuilt database
> images (e.g. "guacamole/mysql" and "guacamole/postgres") on the Docker Hub,
> as well as an easier way of creating Docker Compose for the whole setup.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)