Commit 09bdb14c authored by Ivan Vilata-i-Balaguer's avatar Ivan Vilata-i-Balaguer
Browse files

Docker: Add `utils` directory with BT and Ouinet test tools.

parent 091e069e
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment