Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
docker-pterodactyl-legacy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
docker-pterodactyl-legacy
Commits
8f1065ca
Commit
8f1065ca
authored
Aug 27, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
errexit on sftp
parent
22d46b75
Pipeline
#638
canceled with stages
in 1 minute and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
manifest/sftp/Dockerfile
manifest/sftp/Dockerfile
+4
-4
No files found.
manifest/sftp/Dockerfile
View file @
8f1065ca
...
...
@@ -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" ]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment