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

building Dockerfile from stable branch crashes on olm.zip download #295

Closed
krille-chan opened this issue Jul 15, 2023 · 2 comments
Closed
Labels
stale The item is going to be closed soon because of inactivity

Comments

@krille-chan
Copy link
Owner

Description

(really this time)

Dockerfile in stable branch won't build image.

./scripts/prepare-web.sh Fails on a curl call downloading https://gitlab.com/famedly/libraries/olm/-/jobs/artifacts/master/download?job=build_js into olm.zip.

the curl call "succeeds", but the contents of olm.zip are a 404 document.

To Reproduce

$ git clone https://gitlab.com/famedly/fluffychat.git
 <stuff happens>

$ git checkout stable

Branch 'stable' set up to track remote branch 'stable' from 'origin'.
Switched to a new branch 'stable'

$ docker build --no-cache -t myrepository/namespace/docker-fluffychat:stable .

Sending build context to Docker daemon  357.8MB
Step 1/9 : FROM cirrusci/flutter:2.2.3 AS builder
 ---> 2d8c8375e2ea
Step 2/9 : RUN mkdir /fluffychat
 ---> Running in 1711495e3fa4
Removing intermediate container 1711495e3fa4
 ---> 27b21dac3de0
Step 3/9 : WORKDIR /fluffychat
 ---> Running in 3359bcc07759
Removing intermediate container 3359bcc07759
 ---> c93143da6de1
Step 4/9 : COPY ./ /fluffychat
 ---> 71b7aabc54e6
Step 5/9 : RUN ./scripts/prepare-web.sh
 ---> Running in 31fb2e60685a
#!/bin/sh -ve
rm -r assets/js/package
cd assets/js/ && curl -L 'https://gitlab.com/famedly/libraries/olm/-/jobs/artifacts/master/download?job=build_js' > olm.zip && cd ../../
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   169  100   169    0     0    637      0 --:--:-- --:--:-- --:--:--   637
100 28763    0 28763    0     0  17485      0 --:--:--  0:00:01 --:--:-- 76092
cd assets/js/ && unzip olm.zip && cd ../../
Archive:  olm.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of olm.zip or
        olm.zip.zip, and cannot find olm.zip.ZIP, period.
cd assets/js/ && rm olm.zip && cd ../../
./scripts/prepare-web.sh: 5: cd: can't cd to assets/js/
cd assets/js/ && mv javascript package && cd ../.././scripts/prepare-web.sh: 6: cd: can't cd to assets/js/
The command '/bin/sh -c ./scripts/prepare-web.sh' returned a non-zero code: 2

Additional information:

  • Device: PC (amd64)
  • OS and OS version: Debian 11
  • Installed version of FluffyChat: stable
  • (Android only) Which store are you using: n/a
  • (Android only) Are Google Services available: n/a
Copy link

github-actions bot commented Mar 5, 2024

This issue is stale because it has been open for 120 days with no activity.

@github-actions github-actions bot added the stale The item is going to be closed soon because of inactivity label Mar 5, 2024
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale The item is going to be closed soon because of inactivity
Projects
None yet
Development

No branches or pull requests

1 participant