Skip to content

Commit

Permalink
Revert "Workaround 2151833 (and 2151844).."
Browse files Browse the repository at this point in the history
This reverts commit e36e2aa.

The problem was fixed.
  • Loading branch information
adelton committed Dec 10, 2022
1 parent e36e2aa commit a6d0a99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 2 additions & 3 deletions Dockerfile.fedora-rawhide
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Clone from the Fedora rawhide image
FROM docker.io/library/fedora:rawhide
FROM registry.fedoraproject.org/fedora:rawhide

RUN groupadd -g 288 kdcproxy ; useradd -u 288 -g 288 -c 'IPA KDC Proxy User' -r -d '/var/lib/kdcproxy' -s '/sbin/nologin' kdcproxy
RUN groupadd -g 289 ipaapi; useradd -u 289 -g 289 -c 'IPA Framework User' -r -d / -s '/sbin/nologin' ipaapi
Expand All @@ -18,8 +18,7 @@ RUN systemctl mask rpc-gssd.service

# Container image which runs systemd
# debug: RUN test -f /etc/machine-id && ! test -s /etc/machine-id
# debug: RUN test -z "$container"
ENV container oci
# debug: RUN test "$container" = oci

# Establish reasonably low open files limit in the container
RUN echo "DefaultLimitNOFILE=1024" >> /etc/systemd/system.conf
Expand Down
4 changes: 0 additions & 4 deletions ci/label-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ if [ -z "$BASE_DIGEST" ] ; then
# Since docker images strips the docker.io/ prefix, try again without it
BASE_DIGEST=$( $docker images --digests --format '{{.Repository}}:{{.Tag}} {{.Digest}}' | awk -v image="${FROM#docker.io/}" '$1 == image { print $2 }' )
fi
if [ -z "$BASE_DIGEST" ] ; then
# Since docker images strips the docker.io/library/ prefix, try again without it
BASE_DIGEST=$( $docker images --digests --format '{{.Repository}}:{{.Tag}} {{.Digest}}' | awk -v image="${FROM#docker.io/library/}" '$1 == image { print $2 }' )
fi
if [ -z "$BASE_DIGEST" ] ; then
# When FROM does not specify a tag, try again with :latest
BASE_DIGEST=$( $docker images --digests --format '{{.Repository}}:{{.Tag}} {{.Digest}}' | awk -v image="$FROM:latest" '$1 == image { print $2 }' )
Expand Down

0 comments on commit a6d0a99

Please sign in to comment.