Skip to content

Commit

Permalink
Fix sftp server for docker configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kamcio96 committed Mar 23, 2020
1 parent b551500 commit 1db504f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN apk add --no-cache openssl make gcc g++ python linux-headers paxctl gnupg ta
&& npm install --production \
&& addgroup -S pterodactyl && adduser -S -D -H -G pterodactyl -s /bin/false pterodactyl \
&& apk del --no-cache make gcc g++ python linux-headers paxctl gnupg \
&& curl -sSL https://github.com/pterodactyl/sftp-server/releases/download/$(curl --silent "https://api.github.com/repos/pterodactyl/sftp-server/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')/sftp-server > /srv/daemon/sftp-server \
&& curl -sSL https://github.com/pterodactyl/sftp-server/releases/download/v1.0.4/sftp-server > /srv/daemon/sftp-server \
&& mkdir -p /var/log/supervisord /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2 \
&& chmod +x /srv/daemon/sftp-server \
&& chmod +x /srv/daemon/.docker/entrypoint.sh \
Expand Down

0 comments on commit 1db504f

Please sign in to comment.