chmod as RUN
This commit is contained in:
parent
ce2b0e39d2
commit
8fd69c42d3
1 changed files with 2 additions and 1 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue