bla commited on
Commit
4bfb699
·
verified ·
1 Parent(s): 2468dac

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -17
Dockerfile CHANGED
@@ -5,23 +5,21 @@ FROM alpine:latest
5
  RUN apk add --no-cache dante-server
6
 
7
  # Create a simple configuration file for dante-server
8
- RUN echo "
9
- logoutput: stderr
10
- internal: 0.0.0.0 port = 1080
11
- external: 0.0.0.0
12
- method: none
13
- clientmethod: none
14
- user.privileged: root
15
- user.notprivileged: nobody
16
- client pass {
17
- from: 0.0.0.0/0 to: 0.0.0.0/0
18
- log: connect disconnect error
19
- }
20
- socks pass {
21
- from: 0.0.0.0/0 to: 0.0.0.0/0
22
- log: connect disconnect error
23
- }
24
- " > /etc/sockd.conf
25
 
26
  # Expose the SOCKS proxy port
27
  EXPOSE 1080
 
5
  RUN apk add --no-cache dante-server
6
 
7
  # Create a simple configuration file for dante-server
8
+ RUN echo "logoutput: stderr\n\
9
+ internal: 0.0.0.0 port = 1080\n\
10
+ external: 0.0.0.0\n\
11
+ method: none\n\
12
+ clientmethod: none\n\
13
+ user.privileged: root\n\
14
+ user.notprivileged: nobody\n\
15
+ client pass {\n\
16
+ from: 0.0.0.0/0 to: 0.0.0.0/0\n\
17
+ log: connect disconnect error\n\
18
+ }\n\
19
+ socks pass {\n\
20
+ from: 0.0.0.0/0 to: 0.0.0.0/0\n\
21
+ log: connect disconnect error\n\
22
+ }" > /etc/sockd.conf
 
 
23
 
24
  # Expose the SOCKS proxy port
25
  EXPOSE 1080