Skip to content

Commit 2cf2fd0

Browse files
author
Ariel Rolfo
committed
add
1 parent a33f57e commit 2cf2fd0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ RUN set -eux; \
181181
RUN set -eux; \
182182
mkdir -p /runtime/usr/bin; \
183183
for b in /usr/pgsql-17/bin/psql /usr/pgsql-17/bin/pg_dump /usr/pgsql-17/bin/pg_restore; do \
184-
if [ -x "$b" ]; then cp -a "$b" /runtime/usr/bin/; fi; \
184+
dest="/runtime/usr/bin/$(basename "$b")"; \
185+
if [ -x "$b" ] && [ ! -e "$dest" ]; then cp -a "$b" "$dest"; fi; \
185186
done
186187

187188
# Runtime stage (UBI 10 micro)

0 commit comments

Comments
 (0)