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

ERROR: Service 'notebook' failed to build : Build failed #93

Closed
itsuki opened this issue Oct 1, 2021 · 3 comments
Closed

ERROR: Service 'notebook' failed to build : Build failed #93

itsuki opened this issue Oct 1, 2021 · 3 comments

Comments

@itsuki
Copy link

itsuki commented Oct 1, 2021

環境:Windows10 Pro + WSL2 + Docker Desktop

2021年10月1日 15:20 時点のZIPを取得して
docker-compose up -d --build
すると、

#5 124.5 E: Version '13.4-1.pgdg20.04+1' for 'libpq-dev' was not found
------
executor failed running [/bin/bash -o pipefail -c apt-get update     && apt-get install -y --no-install-recommends lsb-release=11.1.0ubuntu2 gnupg=2.2.19-3ubuntu2.1     && sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'     && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -     && apt-get update     && apt-get install -y --no-install-recommends libpq-dev=13.4-1.pgdg20.04+1     && apt-get remove -y lsb-release gnupg     && apt-get autoremove -y     && rm -rf /var/lib/apt/lists/*]: exit code: 100
ERROR: Service 'notebook' failed to build : Build failed

というエラーになります。
手元では、
dockerfiles\notebook\Dockerfile
の、libpq-devのバージョンを修正すると、正常に完了しました。

-  && apt-get install -y --no-install-recommends libpq-dev=13.4-1.pgdg20.04+1 \
+  && apt-get install -y --no-install-recommends libpq-dev=14.0-1.pgdg20.04+1 \

※参考:https://pkgs.org/download/libpq-dev

直近で編集されている様ですので、依存関係の修正中でしたらご放念ください。

ご確認、よろしくお願いいたします。

@KazuhiroM
Copy link
Contributor

重要なIssueありがとうございます。@massongit さんにもご協力ただきましたので、早々に取り込みます!

@KazuhiroM
Copy link
Contributor

対応いたしました。

@itsuki
Copy link
Author

itsuki commented Oct 1, 2021

ご対応、ありがとうございました。

@itsuki itsuki closed this as completed Oct 1, 2021
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

No branches or pull requests

2 participants