Skip to content

Commit

Permalink
Test build for #2137
Browse files Browse the repository at this point in the history
  • Loading branch information
SUSE Update Bot committed Dec 12, 2024
1 parent 4dcaa0c commit 5eff2c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions rmt-mariadb-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,12 @@ RUN set -euo pipefail; ln -s usr/local/bin/docker-entrypoint.sh / # backwards co
COPY healthcheck.sh /usr/local/bin/
RUN set -euo pipefail; chmod 755 /usr/local/bin/healthcheck.sh

COPY gosu /usr/local/bin/gosu
RUN set -euo pipefail; chmod 755 /usr/local/bin/gosu
COPY idexec /usr/local/bin/idexec
RUN set -euo pipefail; chmod 755 /usr/local/bin/idexec

# replace gosu calls with idexec
RUN set -euo pipefail; sed -i 's/exec gosu /exec idexec /g' /usr/local/bin/docker-entrypoint.sh
RUN set -euo pipefail; sed -i 's/exec gosu /exec idexec /g' /usr/local/bin/healthcheck.sh

RUN set -euo pipefail; sed -i -e 's,$(pwgen .*),$(openssl rand -base64 36),' /usr/local/bin/docker-entrypoint.sh

Expand Down
File renamed without changes.

0 comments on commit 5eff2c5

Please sign in to comment.