Skip to content

Commit 74c1b59

Browse files
author
SUSE Update Bot
committed
Test build for #3020
1 parent 4edfeb0 commit 74c1b59

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

git-image/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ COPY --from=target / /target
2727

2828
RUN set -euo pipefail; \
2929
export PERMCTL_ALLOW_INSECURE_MODE_IF_NO_PROC=1; \
30-
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends git-core openssh-clients
30+
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends git-core openssh-clients shadow
31+
# create the user and group with the given ids
32+
RUN set -euo pipefail; \
33+
groupadd -R /target -g 1000 -r git; \
34+
useradd -R /target -u 1000 -g 1000 -m -r -s /bin/bash git
3135
# sanity check that the version from the tag is equal to the version of git-core that we expect
3236
RUN set -euo pipefail; \
3337
[ "$(rpm --root /target -q --qf '%{version}' git-core | \

helm-image/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ COPY --from=target / /target
2727

2828
RUN set -euo pipefail; \
2929
export PERMCTL_ALLOW_INSECURE_MODE_IF_NO_PROC=1; \
30-
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends ca-certificates-mozilla helm
30+
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends ca-certificates-mozilla helm shadow
31+
# create the user and group with the given ids
32+
RUN set -euo pipefail; \
33+
groupadd -R /target -g 1000 -r helm; \
34+
useradd -R /target -u 1000 -g 1000 -m -r -s /bin/bash helm
3135
# sanity check that the version from the tag is equal to the version of helm that we expect
3236
RUN set -euo pipefail; \
3337
[ "$(rpm --root /target -q --qf '%{version}' helm | \

0 commit comments

Comments
 (0)