Skip to content

Complete overhaul for build images#137

Merged
shokakucarrier merged 1 commit into
Commonjava:ubi9from
shokakucarrier:master
Nov 27, 2024
Merged

Complete overhaul for build images#137
shokakucarrier merged 1 commit into
Commonjava:ubi9from
shokakucarrier:master

Conversation

@shokakucarrier

Copy link
Copy Markdown
Contributor

Switched to UBI9 and completely ditched JDK 1.8 and Python2
use latest instead of jdk11 tag for base image because JDK 1.8 version no longer exist
removed setting users process for indy
enhancement of readability for indy Dockerfile
removed dumb-init
removed unnecessary packages in base image
removed redundant files

Require rebuild for every services

modified byteman installation

disable libnss preload

fix envsubst missing

add entrypoint in indy

remove dumb-init from other entrypoint

replace print function

update urllib

add convertion of byte and string

switch quarkus based services to new base

remove java install& uninstall process

removed dumb-init completely and add cache clean for indy

remove indy user setup

fix indy build

rearrange indy build Dockerfile for readablility
@ligangty

Copy link
Copy Markdown
Contributor

@shokakucarrier I've created a "ubi9" branch from master, can we use this branch to test these image changes?

@shokakucarrier shokakucarrier changed the base branch from master to ubi9 November 26, 2024 07:25
@shokakucarrier

Copy link
Copy Markdown
Contributor Author

@shokakucarrier I've created a "ubi9" branch from master, can we use this branch to test these image changes?

Done

Comment thread indy/Dockerfile

EXPOSE 8080 8081 8000

USER 1001

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

So just curious that where is user 1001 is created and mapped?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

it doesn't matter, this is just for OpenShift arbitary user execution, I tested this on GPC it works with this line and without user wrapper script

@ligangty ligangty left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Generally lGTM. Let's use this for devel testing after merge.

@shokakucarrier shokakucarrier merged commit 1df43e4 into Commonjava:ubi9 Nov 27, 2024
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