Skip to content
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

fix: psql client not found in arm dockerfile #71

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

rriski
Copy link
Contributor

@rriski rriski commented Dec 10, 2022

Postgresql client has a dependency to perl and removing perl also removes psql from the container image.

Attached logs from running apt remove perl from a container built with this patch:

root@3c557f7743b3:/# apt remove perl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libedit2 libgdbm-compat4 libgdbm6 libicu70 libllvm14 libperl5.34 libreadline8 libxml2 libxslt1.1 locales netbase perl-modules-5.34 readline-common ssl-cert tzdata ucf
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
libjson-perl perl postgresql postgresql-14 postgresql-client postgresql-client-14 postgresql-client-common postgresql-common
0 upgraded, 0 newly installed, 8 to remove and 0 not upgraded.
After this operation, 49.2 MB disk space will be freed.
Do you want to continue? [Y/n]

Related to #68

Postgresql client has a dependency to perl and removing perl also removes `psql`
from the container image.

Attached logs from running `apt remove perl` from a container built with this
patch:

    root@3c557f7743b3:/# apt remove perl
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    libedit2 libgdbm-compat4 libgdbm6 libicu70 libllvm14 libperl5.34 libreadline8 libxml2 libxslt1.1 locales netbase perl-modules-5.34 readline-common ssl-cert tzdata ucf
    Use 'apt autoremove' to remove them.
    The following packages will be REMOVED:
    libjson-perl perl postgresql postgresql-14 postgresql-client postgresql-client-14 postgresql-client-common postgresql-common
    0 upgraded, 0 newly installed, 8 to remove and 0 not upgraded.
    After this operation, 49.2 MB disk space will be freed.
    Do you want to continue? [Y/n]

Related to mujx#68
@rriski rriski mentioned this pull request Dec 10, 2022
@mujx mujx merged commit dff4cbb into mujx:master Dec 13, 2022
@rriski rriski deleted the rriski-fix-docker-arm-psql-client branch December 13, 2022 09:35
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