Skip to content

Enhanced the ubuntu 18.04 container image to support PostgreSQL 12 & …#7

Open
iuliana wants to merge 2 commits intobrooklyncentral:masterfrom
iuliana:enhancement/ubuntu-18-db
Open

Enhanced the ubuntu 18.04 container image to support PostgreSQL 12 & …#7
iuliana wants to merge 2 commits intobrooklyncentral:masterfrom
iuliana:enhancement/ubuntu-18-db

Conversation

@iuliana
Copy link
Contributor

@iuliana iuliana commented May 4, 2020

Enhanced the ubuntu 18.04 container image to support PostgreSQL 12 & MySQL 5.7 installation.
We have a few blueprints that install PostgreSQL 12 & MySQL 5.7 from deb packages. This image was modified to install and configure dependencies for them.

RUN which curl || apt -y install curl
RUN export DEBIAN_FRONTEND=noninteractive
RUN echo exit 0 > /usr/sbin/policy-rc.d
RUN apt-get install -y openssh-server netbase perl libnuma1 psmisc locales locales-all libxslt1.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be the responsibility of the postgres / mysql blueprint to do, or should we hard-bake it into the base image in the assumption that end-users would have done this in a real environment?

It seems wrong to install too much into the base docker image.

Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants