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

Build Error -ERROR [agent 6/13] RUN xargs -a /wptagent/.github/workflows/docker-apt-get.txt #2963

Open
dreadedhamish opened this issue Aug 20, 2023 · 1 comment · Fixed by #3012
Labels
Type: Bug An issue or pull request relating to a bug in WebPageTest

Comments

@dreadedhamish
Copy link

dreadedhamish commented Aug 20, 2023

I'm getting an error early on in the build process:

=> CACHED [agent 4/13] RUN git clone -b master https://github.com/WPO-Foundation/wptagent.git
=> CACHED [agent 5/13] RUN apt-get update
=> ERROR [agent 6/13] RUN xargs -a /wptagent/.github/workflows/docker-apt-get.txt apt-get install --no-install-recommends --yes
=> ERROR [web internal] load build context

Error details:

[agent 6/13] RUN xargs -a /wptagent/.github/workflows/docker-apt-get.txt apt-get install --no-install-recommends --yes:
0.543 xargs: Cannot open input file "/wptagent/.github/workflows/docker-apt-get.txt": No such file or directory
[web internal] load build context:
failed to solve: process "/bin/sh -c xargs -a /wptagent/.github/workflows/docker-apt-get.txt apt-get install --no-install-recommends --yes" did not complete successfully: exit code: 1

Looking in the wptagent repository there is indeed no file by that name in that locaiton.

Any hints on fixing this?

@dreadedhamish dreadedhamish added the Type: Bug An issue or pull request relating to a bug in WebPageTest label Aug 20, 2023
@dreadedhamish
Copy link
Author

It appears the wptagent repository has been updated and no longer uses this file to install wptagent, but when wptagent is installed from this repository (/docker/local/Dockerfile-wptagent) it refers directly to the now-deleted file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug An issue or pull request relating to a bug in WebPageTest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant