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

Usability change for oraclelinux:8-slim image #8714

Merged
merged 1 commit into from
Sep 14, 2020
Merged

Usability change for oraclelinux:8-slim image #8714

merged 1 commit into from
Sep 14, 2020

Conversation

Djelibeybi
Copy link
Contributor

We added the shadow-utils package to the oraclelinux:8-slim image. Apparently creating non-root users is a thing people want to do.

Signed-off-by: Avi Miller avi.miller@oracle.com

Signed-off-by: Avi Miller <avi.miller@oracle.com>
@github-actions
Copy link

Diff for b664c6b:
diff --git a/_bashbrew-cat b/_bashbrew-cat
index b1e1a56..75c361c 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -1,9 +1,9 @@
 Maintainers: Oracle Linux Product Team <ol-ovm-info_ww@oracle.com> (@Oracle)
 GitRepo: https://github.com/oracle/container-images.git
 GitCommit: 01a15ec99c7470a3391c691509db1759b41eaf66
-amd64-GitCommit: 71082ca8be173ae4a73c7187eb7c3403bbd9c641
+amd64-GitCommit: 4094e84f7711e330510bcceae10aaec6d82f5ce7
 amd64-GitFetch: refs/heads/dist-amd64
-arm64v8-GitCommit: c53c4a644cf5505180014ce7e69235bfdc4d00e5
+arm64v8-GitCommit: 493b79e2372fbc371b19652580604c4603c81f50
 arm64v8-GitFetch: refs/heads/dist-arm64v8
 
 Tags: 6-slim
diff --git a/oraclelinux_8-slim/oraclelinux-8-slim-amd64-rootfs.tar.xz b/oraclelinux_8-slim/oraclelinux-8-slim-amd64-rootfs.tar.xz
index 93c5c91..f5d44d6 100644
Binary files a/oraclelinux_8-slim/oraclelinux-8-slim-amd64-rootfs.tar.xz and b/oraclelinux_8-slim/oraclelinux-8-slim-amd64-rootfs.tar.xz differ
diff --git a/oraclelinux_8-slim/oraclelinux-8-slim-amd64-rootfs.tar.xz  'tar -t' b/oraclelinux_8-slim/oraclelinux-8-slim-amd64-rootfs.tar.xz  'tar -t'
index a604308..f397df9 100644
--- a/oraclelinux_8-slim/oraclelinux-8-slim-amd64-rootfs.tar.xz  'tar -t'	
+++ b/oraclelinux_8-slim/oraclelinux-8-slim-amd64-rootfs.tar.xz  'tar -t'	
@@ -47,6 +47,8 @@ etc/crypto-policies/state/
 etc/crypto-policies/state/current
 etc/csh.cshrc
 etc/csh.login
+etc/default/
+etc/default/useradd
 etc/dnf/
 etc/dnf/modules.d/
 etc/environment
@@ -76,6 +78,7 @@ etc/libssh/
 etc/libssh/libssh_client.config
 etc/libssh/libssh_server.config
 etc/localtime
+etc/login.defs
 etc/motd
 etc/netconfig
 etc/networks
@@ -167,6 +170,8 @@ etc/rpc
 etc/rpm/
 etc/rpm/macros.dist
 etc/sasl2/
+etc/selinux/
+etc/selinux/semanage.conf
 etc/services
 etc/shadow
 etc/shells
@@ -225,6 +230,7 @@ usr/bin/ca-legacy
 usr/bin/cat
 usr/bin/catchsegv
 usr/bin/cd
+usr/bin/chage
 usr/bin/chcon
 usr/bin/chgrp
 usr/bin/chmod
@@ -289,6 +295,7 @@ usr/bin/getopts
 usr/bin/gio
 usr/bin/gio-querymodules-64
 usr/bin/glib-compile-schemas
+usr/bin/gpasswd
 usr/bin/gpg
 usr/bin/gpg-agent
 usr/bin/gpg-connect-agent
@@ -312,6 +319,7 @@ usr/bin/info
 usr/bin/install
 usr/bin/jobs
 usr/bin/join
+usr/bin/lastlog
 usr/bin/ldd
 usr/bin/link
 usr/bin/ln
@@ -328,6 +336,9 @@ usr/bin/mknod
 usr/bin/mktemp
 usr/bin/modulemd-validator-v1
 usr/bin/mv
+usr/bin/newgidmap
+usr/bin/newgrp
+usr/bin/newuidmap
 usr/bin/nice
 usr/bin/nl
 usr/bin/nohup
@@ -360,6 +371,7 @@ usr/bin/rpmverify
 usr/bin/runcon
 usr/bin/sed
 usr/bin/seq
+usr/bin/sg
 usr/bin/sh
 usr/bin/sha1sum
 usr/bin/sha224sum
@@ -1416,6 +1428,7 @@ usr/lib64/librt.so.1
 usr/lib64/libsasl2.so.3
 usr/lib64/libsasl2.so.3.0.0
 usr/lib64/libselinux.so.1
+usr/lib64/libsemanage.so.1
 usr/lib64/libsepol.so.1
 usr/lib64/libsigsegv.so.2
 usr/lib64/libsigsegv.so.2.0.4
@@ -4084,6 +4097,7 @@ usr/libexec/platform-python
 usr/libexec/platform-python3.6
 usr/libexec/platform-python3.6m
 usr/libexec/scdaemon
+usr/libexec/selinux/
 usr/local/
 usr/local/bin/
 usr/local/etc/
@@ -4119,23 +4133,42 @@ usr/local/share/man/mann/
 usr/local/src/
 usr/sbin/
 usr/sbin/addgnupghome
+usr/sbin/adduser
 usr/sbin/alternatives
 usr/sbin/applygnupgdefaults
 usr/sbin/build-locale-archive
 usr/sbin/capsh
+usr/sbin/chgpasswd
 usr/sbin/chkconfig
+usr/sbin/chpasswd
 usr/sbin/chroot
 usr/sbin/fix-info-dir
 usr/sbin/g13-syshelp
 usr/sbin/getcap
 usr/sbin/getpcaps
+usr/sbin/groupadd
+usr/sbin/groupdel
+usr/sbin/groupmems
+usr/sbin/groupmod
+usr/sbin/grpck
+usr/sbin/grpconv
+usr/sbin/grpunconv
 usr/sbin/iconvconfig
 usr/sbin/install-info
 usr/sbin/ldconfig
+usr/sbin/newusers
+usr/sbin/pwck
+usr/sbin/pwconv
+usr/sbin/pwunconv
 usr/sbin/sasldblistusers2
 usr/sbin/saslpasswd2
 usr/sbin/setcap
 usr/sbin/update-alternatives
+usr/sbin/useradd
+usr/sbin/userdel
+usr/sbin/usermod
+usr/sbin/vigr
+usr/sbin/vipw
 usr/sbin/zdump
 usr/sbin/zic
 usr/share/
@@ -4647,6 +4680,10 @@ usr/share/doc/sed/THANKS
 usr/share/doc/sed/sedfaq.txt.gz
 usr/share/doc/setup/
 usr/share/doc/setup/uidgid
+usr/share/doc/shadow-utils/
+usr/share/doc/shadow-utils/HOWTO
+usr/share/doc/shadow-utils/NEWS
+usr/share/doc/shadow-utils/README
 usr/share/doc/sqlite-libs/
 usr/share/doc/sqlite-libs/README.md
 usr/share/doc/tzdata/
@@ -4824,6 +4861,8 @@ usr/share/licenses/librepo/
 usr/share/licenses/librepo/COPYING
 usr/share/licenses/libselinux/
 usr/share/licenses/libselinux/LICENSE
+usr/share/licenses/libsemanage/
+usr/share/licenses/libsemanage/COPYING
 usr/share/licenses/libsepol/
 usr/share/licenses/libsepol/COPYING
 usr/share/licenses/libsigsegv/
@@ -4907,6 +4946,9 @@ usr/share/licenses/sed/
 usr/share/licenses/sed/COPYING
 usr/share/licenses/setup/
 usr/share/licenses/setup/COPYING
+usr/share/licenses/shadow-utils/
+usr/share/licenses/shadow-utils/gpl-2.0.txt
+usr/share/licenses/shadow-utils/shadow-bsd.txt
 usr/share/licenses/systemd/
 usr/share/licenses/systemd/LICENSE.LGPL2.1
 usr/share/licenses/tzdata/
@@ -7008,6 +7050,8 @@ var/lib/rpm/Triggername
 var/lib/rpm/__db.001
 var/lib/rpm/__db.002
 var/lib/rpm/__db.003
+var/lib/selinux/
+var/lib/selinux/tmp/
 var/lib/supportinfo
 var/local/
 var/lock

@yosifkit yosifkit merged commit 33ef2df into docker-library:master Sep 14, 2020
@Djelibeybi
Copy link
Contributor Author

@yosifkit @tianon I see a build that occurred two hours ago: https://doi-janky.infosiftr.net/job/multiarch/view/images/view/oraclelinux/ but the image I'm pulling from Docker Hub isn't the one I'm expecting. Am I misinterpreting the Jenkins output or has something broken somewhere? :)

@Djelibeybi Djelibeybi deleted the update-ol8 branch September 14, 2020 20:32
@yosifkit
Copy link
Member

Because registries are dumb, there is the second step to push the "manifest list" that combines the multiple architectures: https://doi-janky.infosiftr.net/job/put-shared/job/light/job/oraclelinux/. Looks like it finally finished a few minutes ago.

@Djelibeybi
Copy link
Contributor Author

Ah, lovely. Also, I'll bookmark that page too, so I can get both the build and push jobs in future.

@yosifkit
Copy link
Member

The regular jobs will at least let you know when https://hub.docker.com/r/amd64/oraclelinux or https://hub.docker.com/r/arm64v8/oraclelinux is ready.

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