Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache Storm 2.6.3: Update Hash to remove upstream added "ubuntu" user for JRE 11 #17260

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

rzo1
Copy link
Contributor

@rzo1 rzo1 commented Jul 26, 2024

@rzo1 rzo1 requested a review from a team as a code owner July 26, 2024 05:49
Copy link

Diff for 30f03a0:
diff --git a/_bashbrew-cat b/_bashbrew-cat
index 0de77ab..b945c7c 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -3,7 +3,7 @@ Architectures: amd64, arm64v8
 GitRepo: https://github.com/apache/storm-docker.git
 
 Tags: 2.6.3, 2.6, latest
-GitCommit: e7117105eb207e0ffad071d429e7c3de8c0864ce
+GitCommit: adb8344286f15872ecebb2796ad7ee0791f09883
 Directory: 2.6.3
 
 Tags: 2.6.3-jre17, 2.6-jre17
diff --git a/storm_latest/Dockerfile b/storm_latest/Dockerfile
index a8724fb..f2e8568 100644
--- a/storm_latest/Dockerfile
+++ b/storm_latest/Dockerfile
@@ -4,6 +4,10 @@ ENV STORM_CONF_DIR=/conf \
     STORM_DATA_DIR=/data \
     STORM_LOG_DIR=/logs
 
+# Remove the default user 'ubuntu' and its group
+RUN userdel -r ubuntu && \
+    groupdel ubuntu || true \
+
 # Add a user with an explicit UID/GID and create necessary directories
 RUN set -eux; \
     groupadd -r storm --gid=1000; \

Relevant Maintainers:

@tianon tianon merged commit c271d13 into docker-library:master Jul 26, 2024
7 checks passed
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.

2 participants