chmod as RUN

This commit is contained in:
Jacob Patterson 2025-03-17 17:04:07 -04:00
parent ce2b0e39d2
commit 8fd69c42d3

View file

@ -8,7 +8,8 @@ RUN apk add --no-cache \
dropbear-convert=~${DROPBEAR_VERSION_PREFIX} && \
addgroup -S plugin && \
adduser -S plugin -G plugin
COPY --chown=root:plugin --chmod=777 copy.sh /bin/plugin_scp
COPY --chown=root:plugin copy.sh /bin/plugin_scp
RUN chmod 750 /bin/plugin_scp
USER plugin
ENTRYPOINT ["/bin/plugin_scp"]