question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

If you try to use this in an action which will be run inside a container

    container:
      image: "ubuntu:21.04"

it will fail since sudo is not available

Run jurplel/install-qt-action@v2
  with:
    modules: qtcharts
    version: 5.15.2
    target: desktop
    install-deps: true
    cached: false
    setup-python: true
    set-env: true
    tools-only: false
    aqtversion: ==1.1.3
    py7zrversion: ==0.14.0
/usr/bin/docker exec  f448ac4ce4ccb3756862341c12dd51458dce4d7849d6343c22875989be917835 sh -c "cat /etc/*release | grep ^ID"
Successfully setup CPython (3.9.4)
sudo apt-get update
Error: There was an error when attempting to execute the process 'sudo'. This may indicate the process failed to start. Error: spawn sudo ENOENT

sudo is not necessary here since it will be executed with a user that has all privileges.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jurplelcommented, Apr 24, 2021

After wrestling with some random bug for an hour, you can now use nosudo with install-deps for this behavior

1reaction
jurplelcommented, Apr 24, 2021

Okay that was pretty bad, sorry about that. Should be fixed now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker Support
Find answers to your questions with Docker Support. Open a new case, view Docker Docs, visit our community forums, or join our Slack...
Read more >
Get support - Docker Documentation
Find information on how to get support, and the scope of Docker support. This ...
Read more >
Docker Support - Contact
Let our team help you. Contact Name *. Contact Name *. ​. Email ...
Read more >
Docker: Accelerated, Containerized Application Development
Docker is a platform designed to help developers build, share, and run modern applications. We handle the tedious setup, so you can focus...
Read more >
Contact | Docker
Contact Docker for additional information on pricing, subscriptions, support, documentation, and more!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found