Open rayluo opened 2 years ago
@jiasli for awareness
scripts/release/debian/Dockerfile
hasn't been maintained for a long time, a long time (since 2019-01-10, https://github.com/Azure/azure-cli/pull/8000). Currently we use scripts/release/debian/build.sh
to build the DEB package.
Thanks for the hint. But that scripts/release/debian/build.sh
contains this line:
https://github.com/Azure/azure-cli/blob/azure-cli-2.35.0/scripts/release/debian/build.sh#L7
# This script is expected to be run in a container environment
What container shall I use to run that script?
Basically, if you can share with the steps to build a debian package (and ideally also update the Debian Packaging instruction accordingly), I can try to do this part for you to unblock the downstream team. Please help me to help you. :-)
What container shall I use to run that script?
It should be run in Ubuntu or Debian container like
Describe the bug My attempt following the Debian Packaging instruction was unsuccessful. I'm not sure whether this is a bug or just I did it wrong.
To Reproduce
Expected behavior Well, a docker-based workflow is expected to work regardless of my local environment.
Environment summary OS: A debian-variant, with Linux kernel 4.9 Shell type: Bash
Additional context I was trying to see if I could build a debian package for the Cloud Shell team to explore.