Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jenny Ryan
ouinet
Commits
09bdb14c
Commit
09bdb14c
authored
Nov 10, 2020
by
Ivan Vilata-i-Balaguer
Browse files
Docker: Add `utils` directory with BT and Ouinet test tools.
parent
091e069e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
09bdb14c
...
...
@@ -43,7 +43,7 @@ RUN cp -r /usr/local/src/ouinet/repos/ repo-templates/
ARG
OUINET_DEBUG=no
RUN
\
if
[
$OUINET_DEBUG
!=
yes
]
;
then
\
strip injector client src/ouiservice/obfs4proxy/obfs4proxy
\
strip injector client src/ouiservice/obfs4proxy/obfs4proxy
test
/bt-
*
test
/oui-
*
\
&&
find
.
-name
'*.so'
-exec
strip
'{}'
+
\
&&
find
.
-wholename
'*/libexec/*'
-executable
-type
f
-exec
strip
'{}'
+
;
\
fi
...
...
@@ -104,6 +104,8 @@ RUN ldconfig
COPY
--from=builder /opt/ouinet/injector /opt/ouinet/client ./
COPY
--from=builder /opt/ouinet/src/ouiservice/obfs4proxy/obfs4proxy ./
COPY
--from=builder /opt/ouinet/repo-templates/ repo-templates/
RUN
mkdir
utils
COPY
--from=builder /opt/ouinet/test/bt-* /opt/ouinet/test/oui-* utils/
# This ensures that we use the desired Docker-specific files.
RUN
echo
"
$OUINET_DOCKER_VERSION
"
COPY
--from=builder /usr/local/src/ouinet/scripts/ouinet-wrapper.sh ouinet
...
...
Write
Preview
Supports
Markdown
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