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

HTTP request sent, awaiting response... 404 Not Found - While installing pandoc.sh #600

Closed
yezz123 opened this issue Feb 3, 2023 · 3 comments

Comments

@yezz123
Copy link

yezz123 commented Feb 3, 2023

I got this issue:

[+] Building 69.8s (6/6) FINISHED
 => [internal] load build definition from Dockerfile                                                                                                                                   0.0s
 => => transferring dockerfile: 316B                                                                                                                                                   0.0s
 => [internal] load .dockerignore                                                                                                                                                      0.0s
 => => transferring context: 2B                                                                                                                                                        0.0s
 => [internal] load metadata for docker.io/rocker/r-ver:latest                                                                                                                         1.9s
 => [1/3] FROM docker.io/rocker/r-ver:latest@sha256:5e67719080725a6e7ad0f10fe6e42d0cd79df60474e885cc95a57116873e22fb                                                                  23.5s
 => => resolve docker.io/rocker/r-ver:latest@sha256:5e67719080725a6e7ad0f10fe6e42d0cd79df60474e885cc95a57116873e22fb                                                                   0.0s
 => => sha256:8b150fd943bcd54ef788cece17523d19031f745b099a798de65247900d102e18 27.34MB / 27.34MB                                                                                       1.9s
 => => sha256:57ac375b7e725b054735b731d24f99e53a4c2673c550bf6705733cb8ee9911fa 1.81kB / 1.81kB                                                                                         0.6s
 => => sha256:8c4bee0b1b80e9607837bae6d154b91d54d2a45a884c0dae285e1222e35216f2 258.86MB / 258.86MB                                                                                    14.6s
 => => sha256:5e67719080725a6e7ad0f10fe6e42d0cd79df60474e885cc95a57116873e22fb 1.61kB / 1.61kB                                                                                         0.0s
 => => sha256:7d3b6c11e332737e68d07cbda9e8ebe772186a8abd69e03e51333985499db495 1.25kB / 1.25kB                                                                                         0.0s
 => => sha256:d7b9ec4f593ab2c57d6216d9f33d76182bc8542e8de8fa26947a41bfc13dfdb1 5.83kB / 5.83kB                                                                                         0.0s
 => => sha256:d40d6aff287086e9bc3bdee43c294960bbd3ec187672b0f4e46819bd22c3f4f7 19.90kB / 19.90kB                                                                                       2.0s
 => => sha256:bb870c60a985b5f2760a59c26f98f62a9d401669c89de2e1156fb241ad14f315 19.66MB / 19.66MB                                                                                       4.7s
 => => extracting sha256:8b150fd943bcd54ef788cece17523d19031f745b099a798de65247900d102e18                                                                                              1.4s
 => => extracting sha256:57ac375b7e725b054735b731d24f99e53a4c2673c550bf6705733cb8ee9911fa                                                                                              0.0s
 => => extracting sha256:8c4bee0b1b80e9607837bae6d154b91d54d2a45a884c0dae285e1222e35216f2                                                                                              7.4s
 => => extracting sha256:d40d6aff287086e9bc3bdee43c294960bbd3ec187672b0f4e46819bd22c3f4f7                                                                                              0.0s
 => => extracting sha256:bb870c60a985b5f2760a59c26f98f62a9d401669c89de2e1156fb241ad14f315                                                                                              0.6s
 => [2/3] RUN /rocker_scripts/install_rstudio.sh                                                                                                                                      43.6s
 => ERROR [3/3] RUN /rocker_scripts/install_pandoc.sh                                                                                                                                  0.7s
------
 > [3/3] RUN /rocker_scripts/install_pandoc.sh:
#0 0.240 --2023-02-03 09:42:50--  https://github.com/jgm/pandoc/releases/download/default%60/pandoc-default%60-1-arm64.deb
#0 0.243 Resolving github.com (github.com)... 20.207.73.82
#0 0.266 Connecting to github.com (github.com)|20.207.73.82|:443... connected.
#0 0.382 HTTP request sent, awaiting response... 404 Not Found
#0 0.692 2023-02-03 09:42:51 ERROR 404: Not Found.
#0 0.692
------
failed to solve: executor failed running [/bin/sh -c /rocker_scripts/install_pandoc.sh]: exit code: 8

and this is my Dockerfile configuration:

FROM rocker/r-ver:latest

ENV S6_VERSION=v2.1.0.2
ENV RSTUDIO_VERSION=daily
ENV DEFAULT_USER=rstudio
ENV PANDOC_VERSION=default`
ENV PATH=/usr/lib/rstudio-server/bin:$PATH

ADD pandoc.sh /rocker_scripts/pandoc.sh

RUN /rocker_scripts/install_rstudio.sh
RUN /rocker_scripts/install_pandoc.sh

EXPOSE 8787

CMD ["/init"]
@yezz123
Copy link
Author

yezz123 commented Feb 3, 2023

I investigate and I'm thinking this is a weird value we have in the URL default%60

https://github.com/jgm/pandoc/releases/download/default%60/pandoc-default%60-1-arm64.deb

I'm thinking about what stands for this default%60 cause either the version can be founded in a normal standards like this:

https://github.com/jgm/pandoc/releases/download/3.0.1/pandoc-3.0.1-1-amd64.deb

@eitsupi
Copy link
Member

eitsupi commented Feb 3, 2023

Hi, thank you for using this.

ENV PANDOC_VERSION=default`

Maybe typo?

@yezz123
Copy link
Author

yezz123 commented Feb 3, 2023

oh my god, yes i fix it thanks 🙏🏻

@yezz123 yezz123 closed this as completed Feb 3, 2023
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