Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docker-ocserv
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
docker-ocserv
Commits
44de8dcc
Commit
44de8dcc
authored
Jul 16, 2016
by
Tommy Lau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use cn-no-route instead of route method
parent
17130c8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Dockerfile
Dockerfile
+3
-3
No files found.
Dockerfile
View file @
44de8dcc
...
...
@@ -57,7 +57,7 @@ RUN buildDeps=" \
&&
apt-get purge
-y
--auto-remove
$buildDeps
# Setup config
COPY
route.txt /tmp/
COPY
cn-no-
route.txt /tmp/
RUN
set
-x
\
&&
sed
-i
's/\.\/sample\.passwd/\/etc\/ocserv\/ocpasswd/'
/etc/ocserv/ocserv.conf
\
&&
sed
-i
's/\(max-same-clients = \)2/\110/'
/etc/ocserv/ocserv.conf
\
...
...
@@ -67,8 +67,8 @@ RUN set -x \
&&
sed
-i
's/192.168.1.2/8.8.8.8/'
/etc/ocserv/ocserv.conf
\
&&
sed
-i
's/^route/#route/'
/etc/ocserv/ocserv.conf
\
&&
sed
-i
's/^no-route/#no-route/'
/etc/ocserv/ocserv.conf
\
&&
cat
/tmp/route.txt
>>
/etc/ocserv/ocserv.conf
\
&&
rm
-fr
/tmp/route.txt
&&
cat
/tmp/
cn-no-
route.txt
>>
/etc/ocserv/ocserv.conf
\
&&
rm
-fr
/tmp/
cn-no-
route.txt
WORKDIR
/etc/ocserv
...
...
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