Skip to content

Commit 533f49a

Browse files
committed
fix: make tar and chown follow symlinks for /etc/envoy
Otherwise the symlink gets overwritten by tar.
1 parent 47bcefd commit 533f49a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

common.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.1.0.145"
1+
postgres-version = "15.1.0.146"

docker/all-in-one/init/configure-envoy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ fi
2929

3030
if [ -f "${INIT_PAYLOAD_PATH:-}" ]; then
3131
echo "init envoy payload"
32-
tar -xzvf "$INIT_PAYLOAD_PATH" -C / ./etc/envoy/
33-
chown -R adminapi:adminapi /etc/envoy
32+
tar -xzvhf "$INIT_PAYLOAD_PATH" -C / ./etc/envoy/
33+
chown -HR adminapi:adminapi /etc/envoy
3434
fi
3535

3636
# Inject project specific configuration

0 commit comments

Comments
 (0)