Commit 8f1065ca authored by nanahira's avatar nanahira

errexit on sftp

parent 22d46b75
Pipeline #638 canceled with stages
in 1 minute and 1 second
......@@ -5,13 +5,13 @@ ARG VERSION
ENV SFTP_VERSION=${VERSION} \
UID=500
RUN mkdir /srv/daemon -p; \
wget -P /srv/daemon https://github.com/pterodactyl/sftp-server/releases/download/${SFTP_VERSION}/sftp-server; \
chmod +x /srv/daemon/sftp-server; \
RUN mkdir /srv/daemon -p && \
wget -P /srv/daemon https://github.com/pterodactyl/sftp-server/releases/download/${SFTP_VERSION}/sftp-server && \
chmod +x /srv/daemon/sftp-server && \
addgroup -S -g ${UID} pterodactyl && adduser -S -D -H -G pterodactyl -u ${UID} -s /bin/false pterodactyl
EXPOSE 2022
WORKDIR /srv/daemon
ENTRYPOINT [ "./sftp-server" ]
CMD [ "-port", "2022" ]
\ No newline at end of file
CMD [ "-port", "2022" ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment