Skip to content

Commit

Permalink
Remove usage of zypper
Browse files Browse the repository at this point in the history
There is no zypper anymore in bci micro based containers.
  • Loading branch information
dirkmueller committed Oct 8, 2024
1 parent 35aefbb commit 0ed92ba
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/test_postfix.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,9 @@


CONTAINERFILE_POSTFIX_WITH_LDAP_ENABLED = """
RUN set -euo pipefail; \
zypper -n in --no-recommends find openldap2 openldap2-client; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
# TODO: move postfix & openldap container files to bci-dockerfile-generator
RUN curl -Lsf -o - https://github.com/thkukuk/containers-mailserver/archive/refs/heads/master.tar.gz | tar --no-same-permissions --no-same-owner -xzf - && \
RUN set -euo pipefail; \
curl -Lsf -o - https://github.com/thkukuk/containers-mailserver/archive/refs/heads/master.tar.gz | tar --no-same-permissions --no-same-owner -xzf - && \
cd containers-mailserver-master/openldap && \
cp -r ldif /entrypoint/ && \
cp slapd.init.ldif /entrypoint/ && \
Expand Down

0 comments on commit 0ed92ba

Please sign in to comment.