Skip to content

Refactor build structure and add noble.#126

Open
nzlosh wants to merge 6 commits intoStackStorm:masterfrom
nzlosh:refactor
Open

Refactor build structure and add noble.#126
nzlosh wants to merge 6 commits intoStackStorm:masterfrom
nzlosh:refactor

Conversation

@nzlosh
Copy link
Contributor

@nzlosh nzlosh commented Mar 10, 2026

No description provided.

@nzlosh nzlosh marked this pull request as ready for review March 10, 2026 20:21
build_image Outdated

function bootstrap_docker()
{
usdo apt-get update --quiet --quiet
Copy link

@skiedude skiedude Mar 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. usdo > sudo
  2. Do we need --quiet twice?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I don't know about the double quiet, it was a copy paste from an existing command. I'm fine setting to a single quiet, it's a convenience function to install docker.

cd st2packaging-dockerfiles/packagingbuild/focal
docker build -t stackstorm/packagingbuild:focal .
# ./build_image
Usage ./build_image <bootstrap|build [distro]>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably worth mentioning what OS this build_image works on, as it looks to be deb only, I couldn't run this on my mac

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ./build_image build jammy command should work on any *nix distro that has docker installed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added a note about bootstrap only supporting Ubuntu.

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

Successfully merging this pull request may close these issues.

2 participants