File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,9 @@ COPY --from=builder-c /src/haproxy_wrapper /usr/local/sbin/haproxy_wrapper
5454RUN apk --no-cache add socat openssl util-linux htop tzdata curl libcap && \
5555 rm -f /usr/local/bin/dataplaneapi /usr/bin/dataplaneapi /etc/haproxy/dataplaneapi.yml && \
5656 rm -f /usr/local/bin/dataplaneapi-v2 /usr/bin/dataplaneapi-v2 && \
57- chgrp -R haproxy /usr/local/etc/haproxy /run /var /usr/local/sbin/haproxy_wrapper && \
58- chmod -R ug+rwx /usr/local/etc/haproxy /run /var /usr/local/sbin/haproxy_wrapper && \
57+ chown -R "${S6_USER}:${S6_GROUP}" /usr/local/etc/haproxy /run /var && \
58+ chmod -R ug+rwx /usr/local/etc/haproxy /run /var && \
59+ chmod u+rx /usr/local/sbin/haproxy_wrapper && \
5960 setcap 'cap_net_bind_service=+ep' /usr/local/sbin/haproxy_wrapper && \
6061 case "${TARGETPLATFORM}" in \
6162 "linux/arm64" ) S6_ARCH=aarch64 ;; \
Original file line number Diff line number Diff line change @@ -33,8 +33,9 @@ COPY --from=builder-c /src/haproxy_wrapper /usr/local/sbin/haproxy_wrapper
3333
3434RUN apk --no-cache add socat openssl util-linux htop tzdata curl libcap && \
3535 rm -f /usr/local/bin/dataplaneapi /usr/bin/dataplaneapi /etc/haproxy/dataplaneapi.yml && \
36- chgrp -R haproxy /usr/local/etc/haproxy /run /var /usr/local/sbin/haproxy_wrapper && \
37- chmod -R ug+rwx /usr/local/etc/haproxy /run /var /usr/local/sbin/haproxy_wrapper && \
36+ chown -R "${S6_USER}:${S6_GROUP}" /usr/local/etc/haproxy /run /var && \
37+ chmod -R ug+rwx /usr/local/etc/haproxy /run /var && \
38+ chmod u+rx /usr/local/sbin/haproxy_wrapper && \
3839 setcap 'cap_net_bind_service=+ep' /usr/local/sbin/haproxy_wrapper && \
3940 case "${TARGETPLATFORM}" in \
4041 "linux/arm64") S6_ARCH=aarch64 ;; \
Original file line number Diff line number Diff line change @@ -49,8 +49,9 @@ COPY --from=builder-c /src/haproxy_wrapper /usr/local/sbin/haproxy_wrapper
4949
5050RUN apk --no-cache add socat openssl util-linux htop tzdata curl libcap && \
5151 rm -f /usr/local/bin/dataplaneapi /usr/bin/dataplaneapi && \
52- chgrp -R haproxy /usr/local/etc/haproxy /run /var /usr/local/sbin/haproxy_wrapper && \
53- chmod -R ug+rwx /usr/local/etc/haproxy /run /var /usr/local/sbin/haproxy_wrapper && \
52+ chown -R "${S6_USER}:${S6_GROUP}" /usr/local/etc/haproxy /run /var && \
53+ chmod -R ug+rwx /usr/local/etc/haproxy /run /var && \
54+ chmod u+rx /usr/local/sbin/haproxy_wrapper && \
5455 setcap 'cap_net_bind_service=+ep' /usr/local/sbin/haproxy_wrapper && \
5556 chown -R haproxy:haproxy /var/lib/pebble/default && \
5657 chmod ugo+rwx /var/lib/pebble/default/* && \
You can’t perform that action at this time.
0 commit comments