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

Dockerfile needs updation. Image isnt getting generated for postgresql 16.3 #106

Open
sajiljosephs opened this issue May 10, 2024 · 0 comments

Comments

@sajiljosephs
Copy link

docker build .

[+] Building 196.0s (13/30)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.32kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 108B 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:latest 0.7s
=> [ 1/26] FROM docker.io/library/ubuntu:latest@sha256:3f85b7caad41a95462cf5b787d8a04604c8262cdcdf9a472b8c52ef83375fe15 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 4.91kB 0.0s
=> CACHED [ 2/26] RUN apt-get update && apt-get install -y make cmake git curl build-essential m4 sudo gdbserver gdb libreadline-dev bison flex zlib1g- 0.0s
=> CACHED [ 3/26] RUN groupadd -r postgres && useradd --no-log-init -r -m -s /bin/bash -g postgres -G sudo postgres 0.0s
=> CACHED [ 4/26] RUN /bin/rm -Rf "/home/postgres/data" && mkdir "/home/postgres/data" 0.0s
=> CACHED [ 5/26] WORKDIR /home/postgres 0.0s
=> [ 6/26] RUN git clone --branch REL_16_3 https://github.com/postgres/postgres.git --depth=1 && cd postgres && ./configure --prefix=/usr/ --enabl 60.6s
=> [ 7/26] RUN chown postgres:postgres /home/postgres 0.3s
=> [ 8/26] RUN curl -s -L https://github.com/theory/pgtap/archive/v1.2.0.tar.gz | tar zxvf - && cd pgtap-1.2.0 && make && make install 1.6s
=> ERROR [ 9/26] RUN curl -s -L https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz | tar zxvf - && cd libsodium-1.0.18 && ./configure 132.7s

[ 9/26] RUN curl -s -L https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz | tar zxvf - && cd libsodium-1.0.18 && ./configure && make check && make -j 4 install:
#0 132.7
#0 132.7 gzip: stdin: unexpected end of file
#0 132.7 tar: Child returned status 1
#0 132.7 tar: Error is not recoverable: exiting now


Dockerfile:29

27 |
28 | RUN curl -s -L https://github.com/theory/pgtap/archive/v1.2.0.tar.gz | tar zxvf - && cd pgtap-1.2.0 && make && make install
29 | >>> RUN curl -s -L https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz | tar zxvf - && cd libsodium-1.0.18 && ./configure && make check && make -j 4 install
30 | RUN cpan App::cpanminus && cpan TAP::Parser::SourceHandler::pgTAP && cpan App::prove
31 |

ERROR: failed to solve: process "/bin/sh -c curl -s -L https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz | tar zxvf - && cd libsodium-1.0.18 && ./configure && make check && make -j 4 install" did not complete successfully: exit code: 2

@sajiljosephs sajiljosephs changed the title Dockerfile needs updation. Image isnt getting generated Dockerfile needs updation. Image isnt getting generated for postgresql 16.3 May 13, 2024
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

1 participant