Skip to content

added docker command for ubuntu 22.04 to Building DEB packages - #7315

Merged
weizhouapache merged 3 commits into
apache:mainfrom
kiranchavala:kiran_ubuntu_docker
Aug 9, 2023
Merged

weizhouapache merged 3 commits into
apache:mainfrom
kiranchavala:kiran_ubuntu_docker

Conversation

@kiranchavala

Copy link
Copy Markdown
Member

Description

This PR adds documentation for generating debian builds for ubuntu-22.04

docker command for ubuntu 22.04 to build the Cloudstack debian builds.

made sure to inlude the node installation for the new UI

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

Tested manually

docker run -ti -v /tmp:/src ubuntu:22.04 /bin/bash -c "apt-get update && apt-get install -y software-properties-common && apt-add-repository universe --yes && apt-get update && apt-get install -y dpkg-dev debhelper lsb-release devscripts  openjdk-11-jdk libws-commons-util-java genisoimage libcommons-codec-java libcommons-httpclient-java liblog4j1.2-java maven python3 python3-mysql.connector python3-setuptools python-setuptools python3-openssl python3-dev libffi-dev build-essential libssl-dev libffi-dev fakeroot  python-is-python3 && curl -sL https://deb.nodesource.com/setup_14.x |  bash - && apt-get install -y nodejs && /src/cloudstack/packaging/build-deb.sh"

Comment thread packaging/README.md
@weizhouapache

Copy link
Copy Markdown
Member

@kiranchavala
overall it looks good to me.

Some packages are not needed. The command I use to install packages is
apt-get install -y dpkg-dev python2 python3 debhelper openjdk-11-jdk genisoimage python3-mysql.connector maven lsb-release devscripts python-setuptools python3-setuptools git

@wido

wido commented Mar 22, 2023

Copy link
Copy Markdown
Contributor

Code looks good, I will do a test later this week.

@weizhouapache

Copy link
Copy Markdown
Member

@kiranchavala
I have the commands to build packages on different OS distributions (ubuntu18, ubuntu20, ubuntu 22, rocky8).
I can create a PR

@soreana soreana self-assigned this Aug 9, 2023
@soreana

soreana commented Aug 9, 2023

Copy link
Copy Markdown
Member

Code looks good, tested manually.

@weizhouapache weizhouapache left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

code lgtm

@weizhouapache
weizhouapache merged commit 927818b into apache:main Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants